util-linux problem ch6 LFS 5.1 pre2

Daniel Ignat daniel.ignat at splinux.com
Mon May 10 08:24:50 PDT 2004


On Mon, 2004-05-10 at 17:20, Alexander E. Patrakov wrote:
> Daniel Ignat wrote:
> > When i run myself the c compiling test on the last lines of
> > 'configure' it works, i mean, making a copy/paste, of the c
> > source program:
> > 
> > #include <zlib.h> 
> > int main(){
> >  exit(0); 
> >  crc32(0,0,0);
> > }
> > 
> > gcc -Wall -lz -o test test.c 
> > 
> > THAT WORKS!!! but in the original 'configure' file it dosent work!
> > Well, it seems to return a '1' return code..
> 
> Do you have any CFLAGS?
> 

yes, but only what comes by default: -O2 as i see

Daniel BI




More information about the lfs-support mailing list