xawtv configure issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



It seems that Gerd follows this list, so I'm posting this here rather than
emailing him directly.  If anyone feels this is in error, let me know, and
I'll send it to him.

I'm half asleep now, so take this with a grain of salt, but I just noticed
this...

Looking at compiling xawtv for the first time in quite a while (3.21 was
the last), and noticed the following in config.log:

configure:2407: checking for png_read_info in -lpng
configure:2426: gcc -o conftest -g -O2   conftest.c -lpng   1>&5
/usr/lib/libpng.so: undefined reference to `deflate'
/usr/lib/libpng.so: undefined reference to `inflate'
/usr/lib/libpng.so: undefined reference to `inflateInit_'
/usr/lib/libpng.so: undefined reference to `crc32'
/usr/lib/libpng.so: undefined reference to `deflateInit2_'
/usr/lib/libpng.so: undefined reference to `inflateReset'
/usr/lib/libpng.so: undefined reference to `deflateReset'
/usr/lib/libpng.so: undefined reference to `inflateEnd'
/usr/lib/libpng.so: undefined reference to `deflateEnd'  
collect2: ld returned 1 exit status  


So, I tried LIBS=-lz ./configure, and it said yes to png, but then got the
same error during the make process.

I'm not sure if this is an artifact of me using libpng-1.2.0 or not (and
too tired to test otherwise ;-).

So, looks like two issues exist here:

First, a check for -lz and using that with -lpng seems prudent.

Second, if the user supplies LIBS=, they should be honored in the Makefile,
correct?

Regards,
mrc
-- 
     Mike Castle      dalgoda@xxxxxxxxxxxxx      www.netcom.com/~dalgoda/
    We are all of us living in the shadow of Manhattan.  -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux