#1 gss build problem

open
nobody
None
5
2008-12-12
2008-12-12
buttay
No

Hi,

I've just tried to build gss (both the latest stable and a git snapshot) on an ubuntu 8.10 machine. During the build, make exited with the following message:

"‘strlen’ was not declared in this scope" (on main.cc)

after a bit of googling, it appears that this is due to gcc-4.3 (default ubuntu version) which is a lot more fussy with #include that the previous versions. Forcing
export CC=/usr/bin/gcc-4.2
export CXX=/usr/bin/g++-4.2
worked fine, and the rest of the building process went smoothly.

Apparently, it is now mandatory to include libraries that were previously implicitely included (but I'm not a fluent C/C++ programmer, so don't take my word on it!

Thank you for your work.

Regards

Cyril BUTTAY

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks