Re: Static linking problems with 5.2.8 [RedHat Linux 6.1]

I have the similar problem on redhat 6.2

Can someone help out ?

Thanks

- Elliot



>
> From: Dave Lacy Kusters (dkusters@polymail.cpunix.calpoly.edu)
> Date: Tue, Jul 11 2000
>
> *Next message: jose.kahan@w3.org: "Re: Bug in HTTCP.c"
>
>    * Previous message: Francois Nicot: "more https segmentation fault"
>    * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>    * Other mail archives: [this mailing list] [other W3C mailing lists]
>    * Mail actions: [ respond to this message ] [ mail a new topic ]
>
>   ------------------------------------------------------------------------
>
> Date: Mon, 10 Jul 2000 23:10:57 -0700 (PDT)
> From: Dave Lacy Kusters <dkusters@polymail.cpunix.calpoly.edu>
> To: www-lib@w3c.org
> Message-ID: <Pine.HPX.4.03.10007102303190.274-100000@monet.artisan.calpoly.edu>
> Subject: Static linking problems with 5.2.8 [RedHat Linux 6.1]
>
> 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.
>
>   ------------------------------------------------------------------------
>
>    * Next message: jose.kahan@w3.org: "Re: Bug in HTTCP.c"
>    * Previous message: Francois Nicot: "more https segmentation fault"
>    * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>    * Other mail archives: [this mailing list] [other W3C mailing lists]
>    * Mail actions: [ respond to this message ] [ mail a new topic ]

Received on Wednesday, 26 July 2000 03:41:33 UTC