Re: ORBit2 under cygwin



Hi Bowie,

	Masahiro is perhaps the best person to help you; apparently this does
work quite well :-) but I've never been there; Masahrio ?

	HTH,

		Michael.

On Wed, 2003-07-02 at 06:27, Bowie Owens wrote:
> 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.
-- 
 michael@ximian.com  <><, Pseudo Engineer, itinerant idiot




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