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
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> wrote:
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 _______________________________________________ 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
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
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:
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
Mike, the entire output can be seen @ http://www.sipinterchange.com/downloads/fs_compile_err.txt I don't see anything else. It's really odd ... SDR
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:
Mike,
the entire output can be seen @ http://www.sipinterchange.com/downloads/fs_compile_err.txt
I don't see anything else. It's really odd ...
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
Yeah ... that's what I did when I first got the error. I'll try it again. Thanks for the help! SDR
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
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.... Gabe Shelby Ramsey wrote:
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
How was this fixed ?, I am experiencing the same problem. Chevio Shelby Ramsey-2 wrote:
Thanks for the help. That did the trick.
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
-- View this message in context: http://www.nabble.com/Compile-Errors-...-tp22149989p22709805.html Sent from the Freeswitch-users mailing list archive at Nabble.com.
it was never really fixed as no one let me into their machine to troubleshoot. Mike On Mar 25, 2009, at 4:01 PM, chevio wrote:
How was this fixed ?, I am experiencing the same problem.
Chevio
Shelby Ramsey-2 wrote:
Thanks for the help. That did the trick.
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
-- View this message in context: http://www.nabble.com/Compile-Errors-...-tp22149989p22709805.html Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ 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
Thanks for access to your machine. The issue was that the odbc detection was trying to use odbc if either the libs or headers were found, not only if both were found. I fixed the detection to not try to use odbc if the headers were not installed. Installing unixODBC- devel package of course lets you install as normal, but we will not try to install automatically when we can't. Mike On Mar 25, 2009, at 4:01 PM, chevio wrote:
How was this fixed ?, I am experiencing the same problem.
Chevio
Shelby Ramsey-2 wrote:
Thanks for the help. That did the trick.
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
-- View this message in context: http://www.nabble.com/Compile-Errors-...-tp22149989p22709805.html Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ 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
participants (4)
-
chevio
-
Gabriel Kuri
-
Michael Jerris
-
Shelby Ramsey