Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » undefined reference
undefined reference [message #154934] Thu, 01 June 2006 18:38 Go to next message
Eclipse UserFriend
Originally posted by: ben.wahlstroem.swissonline.ch

I am new to Eclipse and Linux (SUSE) and trying to use dlopen. I have
searched in documentation and internet for several days now but cannot
find anything.
I have set the path in project.properties.c/c++build.library path
to /usr/lib/libdl.a. Eclipse seems to find the library but does't see
dlopen.
Error log:
Building target: TestInternet1
Invoking: GCC C++ Linker
g++ -L/usr/lib/libdl.a -oTestInternet1 ./TestInternet1.o
/TestInternet1.o: In function `main':
../TestInternet1.C:27: undefined reference to `dlopen'
../TestInternet1.C:31: undefined reference to `dlerror'
collect2: ld returned 1 exit status
make: *** [TestInternet1] Error 1
make: Target `all' not remade because of errors.
Build complete for project TestInternet1
It must be some stupid not understanding. Any help would be very much
appreciated.
Ben
Problem is solved [message #154981 is a reply to message #154934] Fri, 02 June 2006 09:31 Go to previous message
Eclipse UserFriend
Originally posted by: b.wahlstroem.swissonline.ch

Problem is solved
Previous Topic:ressource file under eclipse
Next Topic:Where to get more Basic information abaout BIRT
Goto Forum:
  


Current Time: Fri Apr 19 02:03:33 GMT 2024

Powered by FUDForum. Page generated in 0.03942 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top