PDA

View Full Version : Yet another SEQ5 error =(



cothaeto
12-09-2003, 04:00 PM
I get this during make:



if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/lunar/qt/3/include -I/usr/X11R6/include
-DPKGDATADIR=\"/usr/local/share/showeq/\" -I/usr/include/pcap -D_REENTRANT -O2
-Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false
-DICON_DIR=\"/eq-icons/\" -MT xmlpreferences.o -MD -MP -MF ".deps/xmlpreferences.Tpo" \
-c -o xmlpreferences.o `test -f 'xmlpreferences.cpp' || echo './'`xmlpreferences.cpp; \
then mv -f ".deps/xmlpreferences.Tpo" ".deps/xmlpreferences.Po"; \
else rm -f ".deps/xmlpreferences.Tpo"; exit 1; \
fi
xmlpreferences.cpp: In member function `int64_t
XMLPreferences::getPrefInt64(const QString&, const QString&, long long int,
XMLPreferences::Persistence)':
xmlpreferences.cpp:775: `strtoll' undeclared (first use this function)
xmlpreferences.cpp:775: (Each undeclared identifier is reported only once for
each function it appears in.)
xmlpreferences.cpp: In member function `uint64_t
XMLPreferences::getPrefUInt64(const QString&, const QString&, long long
unsigned int, XMLPreferences::Persistence)':
xmlpreferences.cpp:823: `strtoull' undeclared (first use this function)
make[3]: *** [xmlpreferences.o] Error 1


running Lunar.. QT 3.2.1.. autoconf 2.57..

This is from the tarball, and I have no clue what the problem is, unless I have something else to upgrade before building?

cothaeto
12-09-2003, 08:30 PM
Well.. did a little searching on the net for my two missing functions... just had to add:

#include <stdlib.h>
to the top of xmlpreferences.cpp

/sigh. Is this supposed to be included, cause if we're using the standard libraries, why isn't it there?

Zaphod
12-09-2003, 09:26 PM
Originally posted by cothaeto
Well.. did a little searching on the net for my two missing functions... just had to add:

#include <stdlib.h>
to the top of xmlpreferences.cpp

/sigh. Is this supposed to be included, cause if we're using the standard libraries, why isn't it there?

Thanks for the find. It isn't their because apparently some other header file on RedHat and other Linux distributions was causing stdlib.h to get included. I'm not sure which one though.

I've never heard of Lunar. Do you have a link to it?

Thanks and Enjoy,
Zaphod (dohpaZ)

cothaeto
12-09-2003, 10:16 PM
http://lunarlinux.org/

It's a distro that's a lot like Gentoo.. perhaps because a lot of disgruntled Lunar devs cash out and go there, lol... I have a friend that's a dev, so I have a hand to turn to if I never need any help.