Re: [Fink-devel] qhacc

2005-10-16 Thread Martin Costabel

Murali Vadivelu wrote:

Hi All,

I am trying to compile qhacc but it fails at the linker stage with the 
following error:
/bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -Wall -g 
-Wnon-virtual-dtor -Wno-long-long -Wundef -W -Wpointer-arith 
-Wwrite-strings -Wcast-align -Wconversion -fPIC -g -O2 -L/sw/lib 
-L../../lib  -o libqifio.la -rpath /opt/qhacc/lib -version-info 2:0:0 
qifplugin.lo -lqt-mt -lfiledbio -lqhacc -lgcc -lpthread
g++ -dynamiclib -single_module ${wl}-flat_namespace ${wl}-undefined 
${wl}suppress -o .libs/libqifio.2.0.0.dylib  .libs/qifplugin.o  
-L/usr/X11R6/lib -L/sw/lib/freetype219/lib -L/sw/lib 
-L/Users/muralikv/tmp/qhacc/lib /sw/lib/libqt-mt.dylib 
/Users/muralikv/tmp/qhacc/lib/.libs/libfiledbio.dylib 
/Users/muralikv/tmp/qhacc/lib/.libs/libdbbase.dylib 
/Users/muralikv/tmp/qhacc/lib/.libs/libqhaccutils.dylib 
/Users/muralikv/tmp/qhacc/lib/.libs/libqhacc.dylib -lgcc -lpthread  
-install_name  /opt/qhacc/lib/libqifio.2.dylib -compatibility_version 3 
-current_version 3.0

ld: multiple definitions of symbol destroy.eh
.libs/qifplugin.o definition of absolute destroy.eh (value 0x0)
/Users/muralikv/tmp/qhacc/lib/.libs/libfiledbio.dylib(single module) 
definition of destroy.eh


Setting the environment variable MACOSX_DEPLOYMENT_TARGET to 10.4 might 
 tell libtool to get rid of the -flat_namespace. Otherwise you will 
have to get rid of the multiple definitions.


--
Martin





---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] qhacc

2005-10-16 Thread Murali Vadivelu

Hi All,

I am trying to compile qhacc but it fails at the linker stage with  
the following error:
/bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -Wall -g -Wnon- 
virtual-dtor -Wno-long-long -Wundef -W -Wpointer-arith -Wwrite- 
strings -Wcast-align -Wconversion -fPIC -g -O2 -L/sw/lib -L../../lib   
-o libqifio.la -rpath /opt/qhacc/lib -version-info 2:0:0 qifplugin.lo  
-lqt-mt -lfiledbio -lqhacc -lgcc -lpthread
g++ -dynamiclib -single_module ${wl}-flat_namespace ${wl}-undefined $ 
{wl}suppress -o .libs/libqifio.2.0.0.dylib  .libs/qifplugin.o  -L/usr/ 
X11R6/lib -L/sw/lib/freetype219/lib -L/sw/lib -L/Users/muralikv/tmp/ 
qhacc/lib /sw/lib/libqt-mt.dylib /Users/muralikv/tmp/qhacc/lib/.libs/ 
libfiledbio.dylib /Users/muralikv/tmp/qhacc/lib/.libs/ 
libdbbase.dylib /Users/muralikv/tmp/qhacc/lib/.libs/ 
libqhaccutils.dylib /Users/muralikv/tmp/qhacc/lib/.libs/ 
libqhacc.dylib -lgcc -lpthread  -install_name  /opt/qhacc/lib/ 
libqifio.2.dylib -compatibility_version 3 -current_version 3.0

ld: multiple definitions of symbol destroy.eh
.libs/qifplugin.o definition of absolute destroy.eh (value 0x0)
/Users/muralikv/tmp/qhacc/lib/.libs/libfiledbio.dylib(single module)  
definition of destroy.eh

ld: multiple definitions of symbol _create
.libs/qifplugin.o definition of _create in section (__TEXT,__text)
/Users/muralikv/tmp/qhacc/lib/.libs/libfiledbio.dylib(single module)  
definition of _create

ld: multiple definitions of symbol _destroy
.libs/qifplugin.o definition of _destroy in section (__TEXT,__text)
/Users/muralikv/tmp/qhacc/lib/.libs/libfiledbio.dylib(single module)  
definition of _destroy

/usr/bin/libtool: internal link edit command failed
make[3]: *** [libqifio.la] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Please help.

Many thanks.

Best,
Murali.


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel