PDA

View Full Version : Slackware SEQ compile error in new beta 7.



Maligned
02-19-2004, 06:24 AM
Apparently the new "Bazaar Search Logging" feature in SEQ 5.0.0.7 beta causes a compile error on Slackware.



bazaarlog.cpp: In member function `void BazaarLog::bazaarSearch(const uint8_t*,
unsigned int, unsigned char)':
bazaarlog.cpp:51: `isdigit' undeclared (first use this function)
bazaarlog.cpp:51: (Each undeclared identifier is reported only once for each
function it appears in.)
bazaarlog.cpp:60: warning: int format, time_t arg (arg 3)
make[3]: *** [bazaarlog.o] Error 1
make[3]: Leaving directory `/home/username/showeq/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/username/showeq/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/username/showeq'
make: *** [all] Error 2


Yes, I'm aware the version is only listed to work with RedHat 9, Fedora Core 1, and Gentoo 1.4. However - this doesn't seem to be a problem with SEQ in general as I've compiled the 5.0.0.6 beta flawlessly and tested it. So - it's narrowed down to the new feature.

If someone could tell me how to fix it - either remove the feature or fix the code for it in bazaarlog.cpp, it would be greatly appreciated. =^).

Thanks for your time.

-- Maligned


-- edit; system information added:

GCC: 3.2.3
Qt: 3.2.1
glibc: 2.3.2
Kernel: 2.4.22

Cleric
02-19-2004, 09:38 AM
Add #include <ctype.h> at the beginning of the bazaarlog.cpp code in /src

jesterbam
02-19-2004, 11:04 AM
Just to add to the data I am getting the same error on RH 7.2. I haven't tried Clerics fix yet.

I am also getting an error on compile with the guildshell.ccp which I will post the text as soon as I figure out how to "copy" from the Terminal window.

jesterbam
02-19-2004, 11:24 AM
I just used Clerics edit and it worked. Was able to compile and SEQ is now running. Thanks Cleric

Maligned
02-19-2004, 05:13 PM
However - it still spit out an error at me on bazaarlog.cpp.

bazaarlog.cpp: In member function `void BazaarLog::bazaarSearch(const uint8_t*,
unsigned int, unsigned char)':
bazaarlog.cpp:61: warning: int format, time_t arg (arg 3)

Not something severe enough to cause the build to fail but still something the devs should look into. =^).

Thanks for the quick fix, Cleric. =^).

-- Maligned

ieatacid
02-19-2004, 05:38 PM
Same error as in the first post, but using

Mandrake 8.1
GCC: 3.0.4
Qt: 3.2.3
glibc: 2.3.2

Cleric's suggestion fixed it though :)