httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 31448] - apxs incorrectly passes CFLAG options to libtool.
Date Tue, 28 Sep 2004 13:44:11 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31448>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31448

apxs incorrectly passes CFLAG options to libtool.





------- Additional Comments From alfred@freebsd.org  2004-09-28 13:44 -------
Thank you for the quick turnaround... This fixed passing CFLAGS, but now it's
trying to link the module standalone and barfing:

~/work/tourserve/itour2 % make all    
/usr/local/apache2/bin/apxs -c  -Wc,-O -Wc,-pipe -Wc,-g
-Wc,-I/usr/home/bright/work/tourserve/itour2/../include -Wc,-I/usr/local/include
-Wc,-I/usr/home/bright/work/tourserve/itour2/../keys -Wc,-Wall
-Wc,-Wno-format-y2k -Wc,-W -Wc,-Wmissing-prototypes -Wc,-Wpointer-arith
-Wc,-Wreturn-type -Wc,-Wcast-qual -Wc,-Wwrite-strings -Wc,-Wswitch
-Wc,-Wcast-align -Wc,-Wno-uninitialized -Wc,-Werror
-Wc,-I/usr/local/apache2/include -Wc,-DAPACHE_2 -Wc,-I../libfetch -Wc,-g
-Wc,-I/usr/home/bright/work/tourserve/itour2/../include -Wc,-I/usr/local/include
-Wc,-I/usr/home/bright/work/tourserve/itour2/../keys  -Wl,-L/usr/local/lib
-Wl,-L../libfetch -Wl,-L/usr/local/lib -Wl,../libfetch/libfetch.a -o
mod_itour.so ../itour//mod_itour.c
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic 
-DAP_HAVE_DESIGNATED_INITIALIZER -D_REENTRANT -D_THREAD_SAFE -g -O2
-I/usr/local/apache2/include  -I/usr/local/apache2/include  
-I/usr/local/apache2/include -I/usr/local/include -O -pipe -g
-I/usr/home/bright/work/tourserve/itour2/../include -I/usr/local/include
-I/usr/home/bright/work/tourserve/itour2/../keys -Wall -Wno-format-y2k -W
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings
-Wswitch -Wcast-align -Wno-uninitialized -Werror -I/usr/local/apache2/include
-DAPACHE_2 -I../libfetch -g -I/usr/home/bright/work/tourserve/itour2/../include
-I/usr/local/include -I/usr/home/bright/work/tourserve/itour2/../keys  -c -o
../itour//mod_itour.lo ../itour//mod_itour.c && touch ../itour//mod_itour.slo
/usr/local/apache2/build/libtool --silent --mode=link gcc -o mod_itour.so
-L/usr/local/lib -L../libfetch -L/usr/local/lib ../libfetch/libfetch.a  -rpath
/usr/local/apache2/modules -module -avoid-version    ../itour//mod_itour.lo
/usr/lib/crt1.o(.text+0x81): In function `_start':
: undefined reference to `main'
../itour//mod_itour.o(.text+0x494): In function `create_server_config':
../itour//mod_itour.c:254: undefined reference to `apr_palloc'
../itour//mod_itour.o(.text+0x4b3):../itour//mod_itour.c:259: undefined
reference to `ap_add_version_component'
../itour//mod_itour.o(.text+0x4d5):../itour//mod_itour.c:260: undefined
reference to `ap_log_error'
../itour//mod_itour.o(.text+0x515): In function `itour_conf_master':
../itour//mod_itour.c:275: undefined reference to `apr_pstrdup'
../itour//mod_itour.o(.text+0x53c):../itour//mod_itour.c:276: undefined
reference to `ap_log_error'
../itour//mod_itour.o(.text+0x5ad): In function `itour_conf_timeout':
../itour//mod_itour.c:291: undefined reference to `ap_log_error'
../itour//mod_itour.o(.text+0x664): In function `itour_dbadd':
../itour//mod_itour.c:363: undefined reference to `ap_log_error'
../itour//mod_itour.o(.text+0x6dc): In function `itour_dbcheck':
../itour//mod_itour.c:386: undefined reference to `ap_log_error'
../itour//mod_itour.o(.text+0x701):../itour//mod_itour.c:392: undefined
reference to `apr_psprintf'
../itour//mod_itour.o(.text+0x754):../itour//mod_itour.c:397: undefined
reference to `ap_log_error'
../itour//mod_itour.o(.text+0x7b1):../itour//mod_itour.c:404: undefined
reference to `ap_log_error'
../itour//mod_itour.o(.text+0x7e8):../itour//mod_itour.c:408: undefined
reference to `ap_log_error'
../itour//mod_itour.o(.text+0x83b):../itour//mod_itour.c:416: undefined
reference to `ap_log_error'
../itour//mod_itour.o(.text+0x866):../itour//mod_itour.c:421: undefined
reference to `apr_table_set'
../itour//mod_itour.o(.text+0x898):../itour//mod_itour.c:426: undefined
reference to `ap_rprintf'
../itour//mod_itour.o(.text+0x8e9): In function `itour_remotequery':
../itour//mod_itour.c:437: undefined reference to `ap_log_error'
../itour//mod_itour.o(.text+0x984):../itour//mod_itour.c:458: undefined
reference to `apr_table_set'
../itour//mod_itour.o(.text+0x9a3):../itour//mod_itour.c:462: undefined
reference to `ap_rprintf'
../itour//mod_itour.o(.text+0x9e5): In function `itour_status_handler':
../itour//mod_itour.c:470: undefined reference to `ap_log_error'
../itour//mod_itour.o(.text+0xa75): In function `itour_register_hooks':
../itour//mod_itour.c:537: undefined reference to `ap_hook_handler'
collect2: ld returned 1 exit status
apxs:Error: Command failed with rc=65536
.
*** Error code 1

Note this is a FreeBSD 6.0 box.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message