paragui-users
[Top][All Lists]
Advanced

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

[paragui-users] OS X port (round 2..)


From: Asko Kauppi
Subject: [paragui-users] OS X port (round 2..)
Date: Mon, 14 Jul 2003 12:55:22 +0300


I'm retrying to compile ParaGui on OS X, now with little more success. :)

Help especially on problem 2 (below) is required, since it blocks my way right now. Thanks.

Problem #0)
'./configure' runs without problems.

Problem #1)
Running 'make' gives the following error:

mkdir .libs
gcc -g -O2 -O2 -D_REENTRANT -D_THREAD_SAFE -o test_physfs test_physfs.o ../.libs/libphysfs.al -lz
ld: Undefined symbols:
_CFBooleanGetValue
_CFRelease
_IOBSDNameMatching
_IOIteratorNext
_IOMasterPort
_IOObjectConformsTo
_IOObjectRelease
_IOObjectRetain
_IORegistryEntryCreateCFProperty
_IORegistryEntryCreateIterator
_IOServiceGetMatchingServices
___CFStringMakeConstantString
_kCFAllocatorDefault
make[4]: *** [test_physfs] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive-am] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Adding "-framework Cocoa -framework IOKit" within that command helps further.
(CAN YOU ADD THAT TO THE AM FILES, SO IT WILL BE FIXED?)


Problem #2)
This i didn't solve..

> make
(goes a long way further, then...)

rm -fr .libs/libparagui.la .libs/libparagui.* .libs/libparagui-1.0.*
c++ -r -keep_private_externs -nostdlib -o .libs/libparagui-1.0.0.4.0.dylib-master.o paragui.lo -all_load ./expat/.libs/libexpat.al ./physfs/.libs/libphysfs.al ./draw/.libs/libpgdraw.al ./font/.libs/libpgfont.al ./core/.libs/libpgcore.al ./widgets/.libs/libpgwidgets.al ./themes/.libs/libtheme.al && gcc -dynamiclib -flat_namespace -undefined suppress -o .libs/libparagui-1.0.0.4.0.dylib .libs/libparagui-1.0.0.4.0.dylib-master.o -L/usr/local/lib -lSDLmain -lSDL -lz -lstdc++ -ltiff -lc -install_name /usr/local/lib/libparagui-1.0.0.dylib -compatibility_version 5 -current_version 5.0 ld: multiple definitions of symbol /usr/bin/libtool: internal link edit command failed std::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*, unsigned long) .libs/libparagui-1.0.0.4.0.dylib-master.o definition of std::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*, unsigned long) in section (__TEXT,__text) /usr/lib/gcc/darwin/3.1/libstdc++.a(string-inst.o) private external definition of std::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*, unsigned long) in section (__TEXT,__text)
make[2]: *** [libparagui.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Duplicate C++ template definitions... Do you have an idea where to twiggle for these?

-ak





reply via email to

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