[LLVMdev] ToolRunner.cpp:396: error: `SHLIBEXT' undeclared (first use this function)

Henrik Bach henrik_bach_llvm at hotmail.com
Mon Jul 26 15:41:53 PDT 2004


I get this error:
ToolRunner.cpp:396: error: `SHLIBEXT' undeclared (first use this function)
ToolRunner.cpp:396: error: (Each undeclared identifier is reported only once
   for each function it appears in.)

And the config.log shows that configure has detected that ld on my platform 
(Interix) doesn't support shared libraries:
configure:6176: checking if gcc supports -c -o file.o
configure:6204: gcc -c -g -O2  -o out/conftest2.o conftest.c >&5
configure:6208: $? = 0
configure:6225: result: yes
configure:6251: checking whether the gcc linker 
(/opt/gcc.3.3/i586-pc-interix3/bin/ld) supports shared libraries
configure:7045: result: no
configure:7116: checking how to hardcode library paths into programs
configure:7141: result: immediate
configure:7155: checking whether stripping libraries is possible
configure:7160: result: yes
configure:7182: checking dynamic linker characteristics
configure:7693: result: no
configure:8419: checking if libtool supports shared libraries
configure:8421: result: no
configure:8424: checking whether to build shared libraries
configure:8473: result: no
configure:8476: checking whether to build static libraries
configure:8480: result: yes
configure:8571: creating mklib
configure:9115: checking for ld used by g++
configure:9182: result: /opt/gcc.3.3/i586-pc-interix3/bin/ld
configure:9191: checking if the linker 
(/opt/gcc.3.3/i586-pc-interix3/bin/ld) is GNU ld
configure:9206: result: yes
configure:9257: checking whether the g++ linker 
(/opt/gcc.3.3/i586-pc-interix3/bin/ld) supports shared libraries
configure:10052: result: no
configure:10070: g++ -c -g -O2  conftest.cc >&5
configure:10073: $? = 0

Is there any hack here to move further with my port of llvm to Interix?


Opret en gratis Hotmail-konto  http://www.hotmail.com med udsigt til 250 MB 

More information about the llvm-dev mailing list