ORBit2 under cygwin
- From: Bowie Owens <bowie owens csiro au>
- To: GARNOME List <garnome-list gnome org>, orbit <orbit-list gnome org>
- Subject: ORBit2 under cygwin
- Date: Wed, 02 Jul 2003 15:27:15 +1000
Hi,
I am trying to get ORBit2 2.7.2 to build under cygwin using libIDL 0.8.0
(and a patched glib 2.2.0). I have gotten through the compilation
(having adjusted a few #include's within linc2) now I am stuck at the
linking. ORBit dies with a heap of unresolved reference errors to
functions within libIDL not long after the following:
Making all in imodule
make[4]: Entering directory
`/cygdrive/o/src/garnome-0.24.2/gnome/ORBit2/work/ma
in.d/ORBit2-2.7.2/src/services/imodule'
/bin/bash ../../../libtool --mode=link gcc -g
-I/cygdrive/o/garnome_24/include
-I/usr/X11R6/include -L/cygdrive/o/garnome_24/lib -L/usr/X11R6/lib -O2
-pipe -L/
cygdrive/o/garnome_24/lib -L/usr/X11R6/lib -o libORBit-imodule-2.la
-rpath /cygd
rive/o/garnome_24/lib -no-undefined orbit-imodule-utils.lo
orbit-imodule-libidl-
utils.lo orbit-imodule.lo ../../../src/orb/libORBit-2.la
-Wl,--export-dyn
amic -L/cygdrive/o/garnome_24/lib -lIDL-2 -lgobject-2.0 -lgmodule-2.0
-lglib-2.0
-lintl -liconv -lm -Wl,--export-dynamic
-L/cygdrive/o/garnome_24/lib -lgobj
ect-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lm
libtool: link: warning: `/lib/libintl.la' seems to be moved
*** Warning: This system can not link to static lib archive
/cygdrive/o/garnome_
24/lib/libIDL-2.la.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
rm -fr .libs/libORBit-imodule-2.dll.a
When I built libIDL it seems like it was unable to create a shared
library version:
extracting exported symbol list from `cygiconv-2.dll'
test -f .libs/impgen.c || \
sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c
ends here \
*\// { s/^# //;s/^# *$//; p; }" -e d < ./libtool > .libs/impgen.c
test -f .libs/impgen.exe || (cd .libs && \
if test "x" != "x" ; then -o impgen impgen.c ; \
else gcc -o impgen impgen.c ; fi)
.libs/impgen /usr/lib/../bin/cygiconv-2.dll > .libs/cygiconv-2.dll-def
generating import library for `cygiconv-2.dll'
dlltool --as=as --dllname cygiconv-2.dll --def .libs/cygiconv-2.dll-def
--output
-lib .libs/libimp-cygiconv-2.a
libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin
shared l
ibraries
rm -fr .libs/libIDL-2.la .libs/libIDL-2.* .libs/libIDL-2.*
(cd . && ln -s parser.lo parser.o)
(cd . && ln -s lexer.lo lexer.o)
(cd . && ln -s ns.lo ns.o)
(cd . && ln -s util.lo util.o)
ar cru .libs/libIDL-2.a parser.o lexer.o ns.o util.o
ranlib .libs/libIDL-2.a
creating libIDL-2.la
(cd .libs && rm -f libIDL-2.la && ln -s ../libIDL-2.la libIDL-2.la)
Has someone already done this? Is there any way to work out what is
preventing libIDL from being built as a shared library and fixing it? Or
can ORBit be convinced to use the static library? Any thoughts would be
most appreciated.
--
Bowie Owens
CSIRO Mathematical & Information Sciences
phone : +61 3 9545 8055
fax : +61 3 9545 8080
mobile : 0425 729 875
email : Bowie Owens csiro au
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]