Re: [Fresco-devel] getting zlib error compiling under slackware
"Andy Sy" <[email protected]>
| Newsgroups | gmane.comp.video.fresco.devel |
|---|---|
| Message-ID | <004901c2e211$c20e3e70$0100a8c0@duron12> |
----- Original Message ----- From: "Nathaniel Smith" <[email protected]> To: <[email protected]> Sent: Tuesday, March 04, 2003 8:29 AM Subject: Re: [Fresco-devel] getting zlib error compiling under slackware > On Mon, Mar 03, 2003 at 02:02:02PM +0800, Andy Sy wrote: > > We're almost certainly looking for libz.so, not libz.a. Do you have > the zlib shared library installed correctly? > > And what does configure say, exactly? Is it detecting zlib but then > later erroring out because it can't find it? > > -- Nathaniel Not sure... here is the config.log: #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { char *(*pfn) = (char *(*)) strsignal ; return 0; } configure:3392: result: yes configure:3404: checking for sys/wait.h that is POSIX.1 compatible configure:3438: g++ -c -g -O2 conftest.cc >&5 configure:3441: $? = 0 configure:3444: test -s conftest.o configure:3447: $? = 0 configure:3457: result: yes configure:3467: checking for gzsetparams in -lz configure:3500: g++ -o conftest -g -O2 conftest.cc -lz >&5 /tmp/cc9KFuKF.o: In function `main': /root/Fresco-M1/Prague/configure:3494: undefined reference to `gzsetparams' collect2: ld returned 1 exit status configure:3503: $? = 1 configure: failed program was: #line 3474 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gzsetparams (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { gzsetparams (); ; return 0; } configure:3520: result: no configure:3529: error: update your zlib, please