azzeddine1265 / libkml

Automatically exported from code.google.com/p/libkml
Other
0 stars 0 forks source link

Linux build issue with 0.4.0 #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

What steps will reproduce the problem?
1. Download libkml-0.4.0.tar.gz
2. Unpack
3. configure, make

What is the expected output? What do you see instead?
Successful compilation expected. Instead I got the error message:
[...]
 g++ -DHAVE_CONFIG_H -I. -I../../../../src/kml/dom -I../../..
-I../../../../src -I../../../../third_party/boost_1_34_1 -Wall -Werr      
         or -ansi -pedantic -fno-rtti -g -O2 -MT link.lo -MD -MP -MF
.deps/link.Tpo -c ../../../../src/kml/dom/link.cc  -fPIC -DPIC -o .lib    
           s/link.o
../../../../src/kml/dom/link.cc: In function ‘bool
kmldom::SetStringInsideCdata(kmldom::ElementPtr, const std::string&,
std::strin                g*)’:
../../../../src/kml/dom/link.cc:49: error: ‘strlen’ was not declared in
this scope
[...]

What version of the product are you using? On what operating system?
Linux debian, gcc 4.3.1

Did you run the unit test suite that comes with the project? Did all test pass?
no

Please provide any additional information below.

Adding #include <cstring> in link.h solve the issue.

Original issue reported on code.google.com by emmanuel...@gmail.com on 14 Aug 2008 at 5:21

GoogleCodeExporter commented 9 years ago
fixed in r254

http://code.google.com/p/libkml/source/detail?r=254

Original comment by kml.mash...@gmail.com on 18 Aug 2008 at 11:52