Re: [Quickfix-users] compiling error
Brought to you by:
orenmnero
|
From: Alex <ax...@m-...> - 2003-07-14 17:52:55
|
I am using quickfix-1.5.0. This is the end of make's output and
configure...
./configure
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking for c++... (cached) g++
checking whether the C++ compiler (g++ ) works... yes
checking whether the C++ compiler (g++ ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking how to run the C preprocessor... (cached) gcc -E
checking for flex... (cached) flex
checking for flex... (cached) flex
checking for yywrap in -lfl... (cached) yes
checking lex output file root... (cached) lex.yy
checking whether yytext is a pointer... (cached) yes
./configure: ruby: command not found
checking for xml2-config... (cached) /usr/bin/xml2-config
checking for libxml - version >= 2.0.0... yes (version 2.4.19)
checking for shutdown in -lc... (cached) yes
checking for inet_addr in -lc... (cached) yes
checking for pthread_create in -lpthread... (cached) yes
checking for pthread_create in -lc_r... (cached) no
checking for stdio.h... (cached) yes
checking for STREAMS ioctl... no
checking for set_terminate in the global namespace... no
checking for set_terminate in the std namespace... yes
checking for typeinfo in the global namespace... no
checking for typeinfo in the std namespace... yes
checking for JNI... yes
checking for gethostbyname_r with input result... yes
checking for gethostbyname_r with return result... no
checking for cplus_demangle in -liberty... (cached) no
checking if select modifies timeval parameter... yes
creating ./config.status
creating quickfix.pc
creating Makefile
creating src/Makefile
creating src/C++/Makefile
creating src/C++/test/Makefile
creating src/java/Makefile
creating src/java/cfg/Makefile
creating src/java/test/Makefile
creating src/java/src/Makefile
creating src/java/src/org/Makefile
creating src/java/src/org/quickfix/Makefile
creating src/java/src/org/quickfix/field/Makefile
creating src/java/src/org/quickfix/fix40/Makefile
creating src/java/src/org/quickfix/fix41/Makefile
creating src/java/src/org/quickfix/fix42/Makefile
creating src/java/src/org/quickfix/fix43/Makefile
creating cfg/Makefile
creating bin/Makefile
creating bin/cfg/Makefile
creating spec/Makefile
creating test/Makefile
creating test/atrun/Makefile
creating test/cfg/Makefile
creating test/definitions/Makefile
creating test/definitions/server/Makefile
creating test/definitions/server/future/Makefile
creating doc/Makefile
creating doc/html/Makefile
creating templates/Makefile
creating CPPTest/Makefile
creating config.h
config.h is unchanged
make
mkdir .libs
(cd . && ln -s JVM.lo JVM.o)
(cd . && ln -s Conversions.lo Conversions.o)
(cd . && ln -s JavaApplication.lo JavaApplication.o)
(cd . && ln -s JavaLog.lo JavaLog.o)
(cd . && ln -s JavaLogFactory.lo JavaLogFactory.o)
(cd . && ln -s JavaMessageStore.lo JavaMessageStore.o)
(cd . && ln -s JavaMessageStoreFactory.lo JavaMessageStoreFactory.o)
(cd . && ln -s org_quickfix_FileStore.lo org_quickfix_FileStore.o)
(cd . && ln -s org_quickfix_FileStoreFactory.lo
org_quickfix_FileStoreFactory.o)
(cd . && ln -s org_quickfix_FileLog.lo org_quickfix_FileLog.o)
(cd . && ln -s org_quickfix_FileLogFactory.lo
org_quickfix_FileLogFactory.o)
(cd . && ln -s org_quickfix_Group.lo org_quickfix_Group.o)
(cd . && ln -s org_quickfix_MemoryStore.lo org_quickfix_MemoryStore.o)
SocketInitiator.lo
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../..
-I. -I.. -I../.. -I../../include -g -O2 -Wall
-I/usr/include/libxml2/libxml -I/usr/include/libxml2
-I/home/axs/j2sdk1.4.1_01/include -I/home/axs/j2sdk1.4.1_01/include/linux
-c org_quickfix_ThreadedSocketAcceptor.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I.. -I../.. -I../../include -g
-O2 -Wall -I/usr/include/libxml2/libxml -I/usr/include/libxml2
-I/home/axs/j2sdk1.4.1_01/include -I/home/axs/j2sdk1.4.1_01/include/linux
-Wp,-MD,.deps/org_quickfix_ThreadedSocketAcceptor.pp -c
org_quickfix_ThreadedSocketAcceptor.cpp -fPIC -DPIC -o
org_quickfix_ThreadedSocketAcceptor.lo
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../..
-I. -I.. -I../.. -I../../include -g -O2 -Wall
-I/usr/include/libxml2/libxml -I/usr/include/libxml2
-I/home/axs/j2sdk1.4.1_01/include -I/home/axs/j2sdk1.4.1_01/include/linux
-c org_quickfix_ThreadedSocketInitiator.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I.. -I../.. -I../../include -g
-O2 -Wall -I/usr/include/libxml2/libxml -I/usr/include/libxml2
-I/home/axs/j2sdk1.4.1_01/include -I/home/axs/j2sdk1.4.1_01/include/linux
-Wp,-MD,.deps/org_quickfix_ThreadedSocketInitiator.pp -c
org_quickfix_ThreadedSocketInitiator.cpp -fPIC -DPIC -o
org_quickfix_ThreadedSocketInitiator.lo
/bin/sh ../../libtool --mode=link g++ -g -O2 -Wall
-I/usr/include/libxml2/libxml -I/usr/include/libxml2
-I/home/axs/j2sdk1.4.1_01/include -I/home/axs/j2sdk1.4.1_01/include/linux
-o libquickfix_jni.la -rpath /usr/local/lib -version-info 4:0:0 JVM.lo
Conversions.lo JavaApplication.lo JavaLog.lo JavaLogFactory.lo Java
(cd . && ln -s org_quickfix_Message.lo org_quickfix_Message.o)
(cd . && ln -s org_quickfix_MySQLStore.lo org_quickfix_MySQLStore.o)
(cd . && ln -s org_quickfix_MySQLStoreFactory.lo
org_quickfix_MySQLStoreFactory.o)
(cd . && ln -s org_quickfix_MySQLLog.lo org_quickfix_MySQLLog.o)
(cd . && ln -s org_quickfix_MySQLLogFactory.lo
org_quickfix_MySQLLogFactory.o)
(cd . && ln -s org_quickfix_ScreenLog.lo org_quickfix_ScreenLog.o)
(cd . && ln -s org_quickfix_ScreenLogFactory.lo
org_quickfix_ScreenLogFactory.o)
(cd . && ln -s org_quickfix_Session.lo org_quickfix_Session.o)
(cd . && ln -s org_quickfix_SessionID.lo org_quickfix_SessionID.o)
(cd . && ln -s org_quickfix_SessionSettings.lo
org_quickfix_SessionSettings.o)
(cd . && ln -s org_quickfix_SocketAcceptor.lo
org_quickfix_SocketAcceptor.o)
(cd . && ln -s org_quickfix_SocketInitiator.lo
org_quickfix_SocketInitiator.o)
(cd . && ln -s org_quickfix_ThreadedSocketAcceptor.lo
org_quickfix_ThreadedSocketAcceptor.o)
(cd . && ln -s org_quickfix_ThreadedSocketInitiator.lo
org_quickfix_ThreadedSock
etInitiator.o)
gcc -shared JVM.lo Conversions.lo JavaApplication.lo JavaLog.lo
JavaLogFactory.lo JavaMessageStore.lo JavaMessageStoreFactory.lo
org_quickfix_FileStore.lo org_quickfix_FileStoreFactory.lo
org_quickfix_FileLog.lo org_quickfix_FileLogFactory.lo
org_quickfix_Group.lo org_quickfix_MemoryStore.lo org_quickfix_Message.lo
org_quickfix_MySQLStore.lo org_quickfix_MySQLStoreFactory.lo
org_quickfix_MySQLLog.lo org_quickfix_MySQLLogFactory.lo
org_quickfix_ScreenLog.lo org_quickfix_ScreenLogFactory.lo
org_quickfix_Session.lo org_quickfix_SessionID.lo
org_quickfix_SessionSettings.lo org_quickfix_SocketAcceptor.lo
org_quickfix_SocketInitiator.lo org_quickfix_ThreadedSocketAcceptor.lo
org_quickfix_ThreadedSocketInitiator.lo -L../../src/C++ -lquickfix
-lstdc++ -lpthread -lxml2 -lc -Wl,-soname -Wl,libquickfix_jni.so.4 -o
.libs/libquickfix_jni.so.4.0.0
/usr/bin/ld: cannot find -lquickfix
collect2: ld returned 1 exit status
make[4]: *** [libquickfix_jni.la] Error 1
make[4]: Leaving directory `/home/axs/tmp/quickfix/src/java'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/axs/tmp/quickfix/src/java'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/axs/tmp/quickfix/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/axs/tmp/quickfix'
make: *** [all-recursive-am] Error 2
On Mon, 14 Jul 2003, Oren Miller wrote:
> Can you show the context in which you get that error?
> If you can post a larget sample of your make output,
> that would be more helpful.
>
> --- Alex <ax...@m-...> wrote:
> > I am trying to compile on a linux 2.4.19 i686
> > machine with gcc version
> > 3.0.4. Running configure works correctly but I get
> > the error
> >
> > /usr/bin/ld: cannot find -lquickfix
> >
> > when I run make.
> >
> > Am I doing something wrong or missing a step? All I
> > did was
> > ./configure
> > make
> >
> > Thanks.
> >
> >
> >
> >
> >
> >
> -------------------------------------------------------
> > This SF.Net email sponsored by: Parasoft
> > Error proof Web apps, automate testing & more.
> > Download & eval WebKing and get a free book.
> > www.parasoft.com/bulletproofapps1
> > _______________________________________________
> > Quickfix-users mailing list
> > Qui...@li...
> > https://lists.sourceforge.net/lists/listinfo/quickfix-users
>
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
>
|