View previous topic :: View next topic |
Author |
Message |
sicfslist at gmail.com Guest
|
Posted: Sun Feb 22, 2009 1:38 pm Post subject: [Freeswitch-users] Compile Errors ... |
|
|
Hello,
I'm getting this all over the place today:
make[5]: *** No rule to make target `/usr/src/freeswitch/libfreeswitch.la', needed by `mod_commands.so'. Stop.
make[4]: *** [all] Error 1
make[3]: *** [mod_commands-all] Error 1
make[2]: *** [all-recursive] Error 1
I normally do this:
svn checkout http://svn.freeswitch.org/svn/freeswitch/trunk freeswitch.trunk
./bootstrap.sh
./configure
make
make install
Thx!
SDR |
|
Back to top |
|
|
mike at jerris.com Guest
|
Posted: Sun Feb 22, 2009 2:04 pm Post subject: [Freeswitch-users] Compile Errors ... |
|
|
Look up furthur, there will be an error around where it builds or links the core. Try typing make core.
Mike
On Feb 22, 2009, at 1:30 PM, Shelby Ramsey <sicfslist@gmail.com (sicfslist@gmail.com)> wrote:
|
|
Back to top |
|
|
sicfslist at gmail.com Guest
|
Posted: Sun Feb 22, 2009 2:33 pm Post subject: [Freeswitch-users] Compile Errors ... |
|
|
Mike,
This is what I get when I run make core (after I did a checkout on latest svn trunk, ./bootstrap.sh, ./configure):
src/switch_console.c:35:28: error: switch_version.h: No such file or directory
src/switch_console.c: In function 'switch_console_process':
src/switch_console.c:233: error: 'SWITCH_VERSION_FULL' undeclared (first use in this function)
src/switch_console.c:233: error: (Each undeclared identifier is reported only once
src/switch_console.c:233: error: for each function it appears in.)
make[1]: *** [libfreeswitch_la-switch_console.lo] Error 1
make: *** [core] Error 2
Thanks!
SDR |
|
Back to top |
|
|
mike at jerris.com Guest
|
Posted: Sun Feb 22, 2009 3:02 pm Post subject: [Freeswitch-users] Compile Errors ... |
|
|
There should be more errors above that? Are you cutting off some of
them in your paste?
On Feb 22, 2009, at 2:26 PM, Shelby Ramsey <sicfslist@gmail.com> wrote:
Quote: | Mike,
This is what I get when I run make core (after I did a checkout on
latest svn trunk, ./bootstrap.sh, ./configure):
src/switch_console.c:35:28: error: switch_version.h: No such file or
directory
src/switch_console.c: In function 'switch_console_process':
src/switch_console.c:233: error: 'SWITCH_VERSION_FULL' undeclared
(first use in this function)
src/switch_console.c:233: error: (Each undeclared identifier is
reported only once
src/switch_console.c:233: error: for each function it appears in.)
make[1]: *** [libfreeswitch_la-switch_console.lo] Error 1
make: *** [core] Error 2
Thanks!
SDR
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
sicfslist at gmail.com Guest
|
|
Back to top |
|
|
gkuri at ieee.org Guest
|
Posted: Sun Feb 22, 2009 4:13 pm Post subject: [Freeswitch-users] Compile Errors ... |
|
|
It sounds like your build environment is whacked, is this a fresh
checkout of trunk or did you overwrite an existing directory? You might
want to scrap that directory and try a fresh checkout.
I just freshly checked out a copy of trunk into a new dir and ran
./bootstrap, ./configure, and make without a problem.
Gabe
Shelby Ramsey wrote:
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
sicfslist at gmail.com Guest
|
Posted: Sun Feb 22, 2009 4:22 pm Post subject: [Freeswitch-users] Compile Errors ... |
|
|
Yeah ... that's what I did when I first got the error. I'll try it again.
Thanks for the help!
SDR |
|
Back to top |
|
|
sicfslist at gmail.com Guest
|
Posted: Sun Feb 22, 2009 6:06 pm Post subject: [Freeswitch-users] Compile Errors ... |
|
|
Did this (to make sure I started from scratch):
rm -rf /usr/src/freeswitch.trunk
rm -rf /usr/local/freeswitch
svn checkout http://svn.freeswitch.org/svn/freeswitch/trunk freeswitch.trunk
cd freeswitch.trunk/
./bootstrap.sh
./configure
make
... and then it pukes all over the place with errors compiling odbc support ... but I thought that odbc was disabled by default.
Errors look like this:
Compiling src/switch_odbc.c ...
In file included from src/switch_odbc.c:33:
./src/include/switch_odbc.h:36:17: error: sql.h: No such file or directory
./src/include/switch_odbc.h:43:20: error: sqlext.h: No such file or directory
./src/include/switch_odbc.h:45:22: error: sqltypes.h: No such file or directory
In file included from src/switch_odbc.c:33:
./src/include/switch_odbc.h:66: error: expected declaration specifiers or '...' before 'SQLHSTMT'
./src/include/switch_odbc.h:96: error: expected declaration specifiers or '...' before 'SQLHSTMT'
src/switch_odbc.c:43: error: expected specifier-qualifier-list before 'SQLHENV'
src/switch_odbc.c: In function 'switch_odbc_handle_new':
src/switch_odbc.c:76: error: 'switch_odbc_handle_t' has no member named 'env'
src/switch_odbc.c:76: error: 'SQL_NULL_HANDLE' undeclared (first use in this function)
src/switch_odbc.c:76: error: (Each undeclared identifier is reported only once
src/switch_odbc.c:76: error: for each function it appears in.)
src/switch_odbc.c:77: error: 'switch_odbc_handle_t' has no member named 'state'
src/switch_odbc.c: In function 'switch_odbc_handle_disconnect':
src/switch_odbc.c:96: error: 'switch_odbc_handle_t' has no member named 'state'
cc1: warnings being treated as errors
src/switch_odbc.c:97: warning: implicit declaration of function 'SQLDisconnect'
src/switch_odbc.c:97: error: 'switch_odbc_handle_t' has no member named 'con'
src/switch_odbc.c:105: error: 'switch_odbc_handle_t' has no member named 'state'
src/switch_odbc.c: In function 'switch_odbc_handle_connect':
src/switch_odbc.c:113: error: 'SQLINTEGER' undeclared (first use in this function)
src/switch_odbc.c:113: error: expected ';' before 'err'
src/switch_odbc.c:116: error: 'SQLSMALLINT' undeclared (first use in this function)
src/switch_odbc.c:116: error: expected ';' before 'valueLength'
SDR |
|
Back to top |
|
|
gkuri at ieee.org Guest
|
Posted: Sun Feb 22, 2009 6:24 pm Post subject: [Freeswitch-users] Compile Errors ... |
|
|
Someone can problem correct me if I'm wrong, however I believe a recent
change was made to the configure script to try and autodetect ODBC. The
configure script may be hitting a false positive as described in this
similar thread from a few days ago ...
http://lists.freeswitch.org/pipermail/freeswitch-users/2009-February/011762.html
Gabe
Shelby Ramsey wrote:
Quote: | Did this (to make sure I started from scratch):
rm -rf /usr/src/freeswitch.trunk
rm -rf /usr/local/freeswitch
svn checkout http://svn.freeswitch.org/svn/freeswitch/trunk freeswitch.trunk
cd freeswitch.trunk/
./bootstrap.sh
./configure
make
... and then it pukes all over the place with errors compiling odbc
support ... but I thought that odbc was disabled by default.
Errors look like this:
Compiling src/switch_odbc.c ...
In file included from src/switch_odbc.c:33:
./src/include/switch_odbc.h:36:17: error: sql.h: No such file or directory
./src/include/switch_odbc.h:43:20: error: sqlext.h: No such file or
directory
./src/include/switch_odbc.h:45:22: error: sqltypes.h: No such file or
directory
In file included from src/switch_odbc.c:33:
./src/include/switch_odbc.h:66: error: expected declaration specifiers
or '...' before 'SQLHSTMT'
./src/include/switch_odbc.h:96: error: expected declaration specifiers
or '...' before 'SQLHSTMT'
src/switch_odbc.c:43: error: expected specifier-qualifier-list before
'SQLHENV'
src/switch_odbc.c: In function 'switch_odbc_handle_new':
src/switch_odbc.c:76: error: 'switch_odbc_handle_t' has no member named
'env'
src/switch_odbc.c:76: error: 'SQL_NULL_HANDLE' undeclared (first use in
this function)
src/switch_odbc.c:76: error: (Each undeclared identifier is reported
only once
src/switch_odbc.c:76: error: for each function it appears in.)
src/switch_odbc.c:77: error: 'switch_odbc_handle_t' has no member named
'state'
src/switch_odbc.c: In function 'switch_odbc_handle_disconnect':
src/switch_odbc.c:96: error: 'switch_odbc_handle_t' has no member named
'state'
cc1: warnings being treated as errors
src/switch_odbc.c:97: warning: implicit declaration of function
'SQLDisconnect'
src/switch_odbc.c:97: error: 'switch_odbc_handle_t' has no member named
'con'
src/switch_odbc.c:105: error: 'switch_odbc_handle_t' has no member named
'state'
src/switch_odbc.c: In function 'switch_odbc_handle_connect':
src/switch_odbc.c:113: error: 'SQLINTEGER' undeclared (first use in this
function)
src/switch_odbc.c:113: error: expected ';' before 'err'
src/switch_odbc.c:116: error: 'SQLSMALLINT' undeclared (first use in
this function)
src/switch_odbc.c:116: error: expected ';' before 'valueLength'
SDR
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
sicfslist at gmail.com Guest
|
Posted: Sun Feb 22, 2009 7:57 pm Post subject: [Freeswitch-users] Compile Errors ... |
|
|
Thanks for the help. That did the trick.
SDR |
|
Back to top |
|
|
mike at jerris.com Guest
|
|
Back to top |
|
|
|