nel-all
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nel] nelns build problems: NeL Misc


From: David Castro
Subject: Re: [Nel] nelns build problems: NeL Misc
Date: Tue, 21 Sep 2004 11:26:54 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040322

The undefined reference is what is causing the problem. I have the same issue when trying to manually link the libnelmisc.so. g++ (not gcc) is being used, so that shouldn't be the problem. Here is the relevant section:

configure:10918: checking for main in -lnelmisc
configure:10942: g++ -o conftest -g -O3 -DNL_RELEASE_DEBUG -I/usr/include/mysql -march=pentium4 -fomit-frame-pointer -DHAVE_ERRNO_AS_DEFINE=1 -DUSE_OLD_FUNCTIONS -Wall -Wno-multichar -D_REENTRANT -I/usr/include/stlport -I/usr/local/nel/include/ -L/usr/local/nel/lib conftest.cc -lnelmisc -lstlport_gcc -lpthread -lcrypt -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib -lssl -lcrypto >&5 /usr/local/nel/lib/libnelmisc.so: undefined reference to `NLMISC::CBitmap::readPNG(NLMISC::IStream&)'
collect2: ld returned 1 exit status
configure:10948: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "nelns"
| #define PACKAGE_TARNAME "nelns"
| #define PACKAGE_VERSION "0.4.0"
| #define PACKAGE_STRING "nelns 0.4.0"
| #define PACKAGE_BUGREPORT "address@hidden"
| #define PACKAGE "nelns"
| #define VERSION "0.4.0"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_MYSQL 1
| #define STDC_HEADERS 1
| #define HAVE_FCNTL_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_LIBCRYPT 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBSTLPORT_GCC 1
| /* end confdefs.h.  */
|
|
| int
| main ()
| {
| main ();
|   ;
|   return 0;
| }
configure:10974: result: no
configure:10984: error: NeL Misc must be installed (http://www.nevrax.org).


on 09/21/04 01:14 Vianney Lecroart wrote:

Hi David,

You should check the config.log for the exact error.

Regards,
Vianney Lecroart

David Castro wrote:

When trying to build nelns, I get the following error from configure:

   checking for STLPort headers... /usr/include/stlport
   checking for main in -lstlport_gcc... yes
   checking for STLPort library... default
   checking for nel-config... /usr/bin/nel-config
   checking for nel/misc/types_nl.h... yes
   checking for nel/net/sock.h... yes
   checking for main in -lnelmisc... no
   configure: error: NeL Misc must be installed (http://www.nevrax.org).

I have compiled and installed NeL just fine. The libnelmisc libs are in my LD library path:

       $ /sbin/ldconfig -p|grep libnel
       libnel3d.so.0 (libc6) => /usr/local/nel/lib/libnel3d.so.0
       libnel3d.so (libc6) => /usr/local/nel/lib/libnel3d.so
       libnelpacs.so.0 (libc6) => /usr/local/nel/lib/libnelpacs.so.0
       libnelpacs.so (libc6) => /usr/local/nel/lib/libnelpacs.so
       libnelnet.so.0 (libc6) => /usr/local/nel/lib/libnelnet.so.0
       libnelnet.so (libc6) => /usr/local/nel/lib/libnelnet.so
       libnelmisc.so.0 (libc6) => /usr/local/nel/lib/libnelmisc.so.0
       libnelmisc.so (libc6) => /usr/local/nel/lib/libnelmisc.so
       libnelmemory.so.0 (libc6) => /usr/local/nel/lib/libnelmemory.so.0
       libnelmemory.so (libc6) => /usr/local/nel/lib/libnelmemory.so
       libnelligo.so.0 (libc6) => /usr/local/nel/lib/libnelligo.so.0
       libnelligo.so (libc6) => /usr/local/nel/lib/libnelligo.so
libnelgeorges.so.0 (libc6) => /usr/local/nel/lib/libnelgeorges.so.0
       libnelgeorges.so (libc6) => /usr/local/nel/lib/libnelgeorges.so
libnel_drv_opengl.so.0 (libc6) => /usr/local/nel/lib/libnel_drv_opengl.so.0 libnel_drv_opengl.so (libc6) => /usr/local/nel/lib/libnel_drv_opengl.so

Any ideas/suggestions?




--
David Castro
Software Architect
Azusa Pacific University

"My little children, let us not love in word or in tongue,
but in deed and in truth." -- 1 Jn 3:18 (NKJ)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]