Make file compilation problem !!!
Hi all,
I have a application which is run on PowerPC Architecture. My host PC is Fedora Linux. I want to run that application on my native(local Fedora) PC. when I try to make it by cmd "make all", it give following error. make[6]: Leaving directory `/home/jnoto/sernet5/trunk/etn_source/toolkit/PCM-tk/etn_source/shared/linux/make' make[5]: Leaving directory `/home/jnoto/sernet5/trunk/etn_source/toolkit/PCM-tk/etn_source/shared' EATON_PROJECT_NAME="libcds" make -C "libcds" make[5]: Entering directory `/home/jnoto/sernet5/trunk/etn_source/toolkit/PCM-tk/etn_source/libcds' make -C linux/make all make[6]: Entering directory `/home/jnoto/sernet5/trunk/etn_source/toolkit/PCM-tk/etn_source/libcds/linux/make' cp -p ../../common/include/exports/*.h "/home/jnoto/sernet5/trunk/etn_source/toolkit/PCM-tk/etn_export/include/" make[6]: Leaving directory `/home/jnoto/sernet5/trunk/etn_source/toolkit/PCM-tk/etn_source/libcds/linux/make' make[5]: Leaving directory `/home/jnoto/sernet5/trunk/etn_source/toolkit/PCM-tk/etn_source/libcds' EATON_PROJECT_NAME="cds" make -C "cds" make[5]: Entering directory `/home/jnoto/sernet5/trunk/etn_source/toolkit/PCM-tk/etn_source/cds' make -C linux/make all make[6]: Entering directory `/home/jnoto/sernet5/trunk/etn_source/toolkit/PCM-tk/etn_source/cds/linux/make' [LINK] cds /usr/bin/ld: sql.o: undefined reference to symbol 'sqlite3_column_int64' /usr/bin/ld: note: 'sqlite3_column_int64' is defined in DSO /usr/local/lib/libsqlite3.so.0 so try adding it to the linker command line /usr/local/lib/libsqlite3.so.0: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[6]: *** [cds] Error 1 make[6]: Leaving directory `/home/jnoto/sernet5/trunk/etn_source/toolkit/PCM-tk/etn_source/cds/linux/make' make[5]: *** [all] Error 2 make[5]: Leaving directory `/home/jnoto/sernet5/trunk/etn_source/toolkit/PCM-tk/etn_source/cds' make[4]: *** [cds_build] Error 2 make[4]: Leaving directory `/home/jnoto/sernet5/trunk/etn_source/toolkit/PCM-tk/etn_source' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/jnoto/sernet5/trunk/etn_source/toolkit/PCM-tk' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/jnoto/sernet5/trunk/etn_source/toolkit' make[1]: *** [toolkit_build] Error 2 make[1]: Leaving directory `/home/jnoto/sernet5/trunk/etn_source' make: *** [all] Error 2 I am unable to find out the error. I have installed same SQLite version (which is used in my application) in my native pc but still i am facing same problem. MY native PC information :: [root@localhost trunk]# file /usr/bin/file /usr/bin/file: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped Please help to to find out the error. Thanks in Advance. Ankur |
It appears to me that the makefile can't find /usr/local/lib/libsqlite3.so.0
It is probably in a different location, hence the suggestion to add it to the 'linker command line' ###### /usr/bin/ld: sql.o: undefined reference to symbol 'sqlite3_column_int64' /usr/bin/ld: note: 'sqlite3_column_int64' is defined in DSO /usr/local/lib/libsqlite3.so.0 so try adding it to the linker command line /usr/local/lib/libsqlite3.so.0: could not read symbols: Invalid operation ###### |
it seems like a dependency problems
execute ldd to know what libraries the application uses: $ ldd myapplication after that verify if you have this libraries on you local PC. |
how are you running Fedora on a ppc IBM CPU computer ? ( apple9 )
fedora has not supported that since fedora 7 |
All times are GMT -5. The time now is 08:01 PM. |