Page 1 of 1

compiling problem

Posted: Sat Oct 18, 2008 8:38 pm
by monkey_ph.d
hello,
i can't compile the libs on my 64bit Linux system. gcc 4.3.2 glibc 2.8.3
configure and make depend without a failure and then make fails with following:

In file included from src/dl_writer_ascii.h:35,
from src/dl_writer_ascii.cpp:34:
src/dl_writer.h: In member function ‘void DL_Writer::entityAttributes(const DL_Attributes&) const’:
src/dl_writer.h:333: error: ‘strcasecmp’ was not declared in this scope
src/dl_writer_ascii.cpp: In member function ‘virtual void DL_WriterA::dxfReal(int, double) const’:
src/dl_writer_ascii.cpp:72: error: ‘strlen’ was not declared in this scope
src/dl_writer_ascii.cpp:81: error: ‘strlen’ was not declared in this scope
src/dl_writer_ascii.cpp: In static member function ‘static void DL_WriterA::strReplace(char*, char, char)’:
src/dl_writer_ascii.cpp:147: error: ‘strlen’ was not declared in this scope
make: *** [src/dl_writer_ascii.o] Error 1

what is wrong? thanks

Posted: Tue Mar 10, 2009 1:29 pm
by leif
Can't see what's happening here but ...
install
compat-gcc-34-c++.x86_64
ccache-2.4-13.fc9.x86_64
and
go
./configure CXX=gcc34

That will help you!

Regards,
Leif Adelöw