- From: Dave Lacy Kusters <dkusters@polymail.cpunix.calpoly.edu>
- Date: Mon, 10 Jul 2000 23:10:57 -0700 (PDT)
- To: www-lib@w3c.org
I've been trying to compile a simple program which posts data to a CGI and prints the results to standard out. I compile and link fine as long as I dynamically link. The minute that I statically link, however, I start to run into problems. Here is the the results from my make: [dlacykus@bandura filter]$ make clean rm -f filter *.o [dlacykus@bandura filter]$ make cc `libwww-config --cflags` -g -static -c filter.c cc -g -static filter.o `libwww-config --libs` -o filter /usr/lib/libwwwapp.a(HTDialog.o): In function `HTConfirm': HTDialog.o(.text+0x6b0): undefined reference to `_IO_stdin_' /usr/lib/libwwwapp.a(HTDialog.o): In function `HTPrompt': HTDialog.o(.text+0x799): undefined reference to `_IO_stdin_' /usr/lib/libwwwapp.a(HTInit.o): In function `HTConverterInit': HTInit.o(.text+0x1f5): undefined reference to `HTXML_new' HTInit.o(.text+0x21c): undefined reference to `HTXML_new' /usr/lib/libwwwapp.a(HTInit.o): In function `HTTransferEncoderInit': HTInit.o(.text+0x41f): undefined reference to `HTZLib_inflate' /usr/lib/libwwwapp.a(HTInit.o): In function `HTContentEncoderInit': HTInit.o(.text+0x46e): undefined reference to `HTZLib_inflate' /usr/lib/libwwwutils.a(HTTrace.o): In function `HTTrace': HTTrace.o(.text+0x39): undefined reference to `_IO_stderr_' /usr/lib/libwwwutils.a(HTTrace.o): In function `HTPrint': HTTrace.o(.text+0xe9): undefined reference to `_IO_stdout_' collect2: ld returned 1 exit status make: *** [filter] Error 1 Does anyone have any suggestions? Thanks in advance. Dave Kusters dkusters@calpoly.edu Software Developer CAD Research Center, San Luis Obispo, CA Practice kind acts of randomness and beautiful acts of senility.
Received on Tuesday, 11 July 2000 02:11:18 UTC