error during make

Rainer Gerhards rgerhards at
Fri Jun 6 10:08:09 CEST 2008


I have just started to building GnuTLS and having problems with the
initial steps. I hope this is the right mailing list for that kind of
things, too.

I am working on Fedora 9. I pulled the git archive roughly an hour
ago. I ran ./configure without arguments. During make, I get the
following error:

gcc -std=gnu99 -pipe -g -O2 -Wno-pointer-sign -o ex-serv-psk
ex-serv-psk.o  ./.libs/libexamples.a ../../lib/.libs/
/home/rger/proj/gnutls/lib/.libs/ -ltasn1 -lz
../../gl/.libs/libgnu.a -lgcrypt -lgpg-error  -Wl,--rpath
-Wl,/home/rger/proj/gnutls/lib/.libs -Wl,--rpath
-Wl,/home/rger/proj/gnutls/libextra/.libs -Wl,--rpath
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../includes -I../../includes
-I../../lgl -I../../lgl -I../../gl -I../../gl   -g -O2 -MT ex-cxx.o
-MD -MP -MF .deps/ex-cxx.Tpo -c -o ex-cxx.o ex-cxx.cpp
ex-cxx.cpp: In function 'int main()':
ex-cxx.cpp:71: error: 'strlen' was not declared in this scope
make[4]: *** [ex-cxx.o] Error 1
make[4]: Leaving directory `/home/rger/proj/gnutls/doc/examples'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/rger/proj/gnutls/doc'

Any advise would be appreciated.


More information about the Gnutls-devel mailing list