Unfortunately, this is a known, easily-fixed, yet unfixed bug in the Linux
version of DevIL. Just change the label "_vsnprintf" to "vsnprintf" and
everything should work itself out. Of course, you'll need to rebuild DevIL
>From: Olexander Lozitskiy <olexander@...>
>Subject: [Freeorion-programmers] GiGi's configure problem - can't find
>Date: Wed, 10 Dec 2003 09:10:43 -0800 (PST)
> Hi, everybody!
> My name is Olex Lozitskiy. I am newcomer-developer to the FO project. So
>far i can't get past installing libraries for FO.
> I'll try to be as clear as possible:
>1. First, I got cvs FO, ran autogen.sh - successful, then ran configure -
>FO needs GiGi
>2. so I got cvs GiGi - ran configure - needs DevIL
>3. OK, i got devil, installed it; went back to GiGi, but it does not pass
>the devil check ;-(
> Here is what I have tried:
>installing rpm's, tar.qz, and cvs of devil 1.6.6, 1.6.5, and 1.6.1; i've
>put libraries into /usr/local/lib, /usr/lib, and even /lib, check the
>presense of /usr/include/IL and /usr/local/include/IL - all that did not
>help so far.
>I have looked at config.log created by GiGi's configure:
> at the line where it checks for devil:
>configure:23027: checking for DevIL
>configure:23052: gcc -o conftest -g -O2 -I/usr/include/SDL -D_REENTRANT
>conftest.c -lILUT -lGL -lGLU -L/usr/lib -Wl,-rpath,/usr/lib -lSDL
>-lpthread -lIL -lILU >&5
>: undefined reference to `main'
>/usr/lib/libIL.so: undefined reference to `_vsnprintf'
>collect2: ld returned 1 exit status
>so, it seems to find the library, but some failure (?) prevents it from
>accepting library (gcc check went fine before devil check).
> my specs: fedora core 1 linux, gcc 3.3.2, SDl 1.2.6 and the rest of
>system is completely up-date with help of apt-get (got only stable
> One more thing: devil package contains examples, when i try to compile
>them i get the same error:
>reference to `_vsnprintf'
> After days of trying to solve this, any help will be very much
>appreciated. It's about time to start coding rather than messing with stuff
>like this. ;-(
> Thanks in advance.
>Christmas 2003 Gift Ideas:
>If somebody used our free and ad-free e-mail system for spamming,
>please follow our anti-spam policy here:
>This SF.net email is sponsored by: SF.net Giveback Program.
>Does SourceForge.net help you be more productive? Does it
>help you create better code? SHARE THE LOVE, and help us help
>YOU! Click Here: http://sourceforge.net/donate/
>Freeorion-programmers mailing list
Our best dial-up offer is back. Get MSN Dial-up Internet Service for 6
months @ $9.95/month now! http://join.msn.com/?page=dept/dialup