Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > 'multiple definitions' erros while compiling [PyQT]

'multiple definitions' erros while compiling [PyQT]
Thread Tools
jem
Junior Member
Join Date: Sep 2000
Location: Sydney
Status: Offline
Reply With Quote
Sep 9, 2001, 01:59 AM
 
Hi,

I'm trying to compile PyQT 2.5, and I have SIP installed (under the prefix specified in the configure script)... However, I get this some way through the compile:

<BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR><pre><font size=1 face=courier>rm -fr .libs/libsip.la .libs/libsip.* .libs/libsip.*
gcc -dynamiclib -undefined suppress -o .libs/libsip.<font color = blue>6.0</font>.<font color = blue>0.</font>dylib siplib.lo qtlib.lo objmap.lo moc_sipQt.lo -L/sw/lib -L/sw/lib/qt2/lib -lqt -L/usr/X11R6/lib -lSM -lICE -lX11 -lc -install_name /sw/lib/libsip.<font color = blue>6.</font>dylib -compatibility_version <font color = blue>7</font> -current_version <font color = blue>7.0</font>
ld: multiple definitions of symbol _sipQObjectClass
siplib.lo definition of _sipQObjectClass in section (__DATA,__common)
qtlib.lo definition of _sipQObjectClass in section (__DATA,__common)
objmap.lo definition of _sipQObjectClass in section (__DATA,__common)
/usr/bin/libtool: internal link edit command failed
make[<font color = blue>2</font>]: *** [libsip.la] Error <font color = blue>1</font>
make[<font color = blue>1</font>]: *** [all-recursive] Error <font color = blue>1</font>
make: *** [all-recursive-am] Error <font color = blue>2</font>
### make failed, exit code <font color = blue>2</font></font>[/code]

Does anyone know how to fix this? I'm not sure how...

Any help would be greatly appreciated!

Thanks!
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:14 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2