Re: Static libraries dependency ...

Ming-I Hsieh (mihs@wm28.csie.ncu.edu.tw)
Mon, 21 Jun 1999 22:23:45 +0800


Michael Meeks wrote:

> On Fri, 18 Jun 1999, Eric W. Sink wrote:
> > cross-platform. This has been discussed on the mailing list a number
> > of times, and previous discussions on the topic may have more detail
>
> Sorry, I'll look at the archives sometime. I always compile my
> gtk/GNOME stuff without static libraries and I fall over:
>
> Linking dynamic
> /usr/opt/gnome/src/abi-0.7.1/src/Linux_2.2.5-15_i386_OBJ/bin/AbiWord_d
> Linking static
> /usr/opt/gnome/src/abi-0.7.1/src/Linux_2.2.5-15_i386_OBJ/bin/AbiWord_s
> /usr/bin/ld: cannot open -lgtk: No such file or directory
> collect2: ld returned 1 exit status
> make[4]: ***
> [/usr/opt/gnome/src/abi-0.7.1/src/Linux_2.2.5-15_i386_OBJ/bin/AbiWord_s]
> Error 1
> make[4]: Leaving directory `/usr/opt/gnome/src/abi-0.7.1/src/wp/main/unix'
> make[3]: *** [build] Error 2
> make[3]: Leaving directory `/usr/opt/gnome/src/abi-0.7.1/src/wp/main'
> make[2]: *** [build] Error 2
> make[2]: Leaving directory `/usr/opt/gnome/src/abi-0.7.1/src/wp'
>
> [ gtk+ configured with --disable-static ]
>
> Thanks,
>
> Michael.
>
> --
> michael@edenproject.org <><, Pseudo Engineer, itinerant idiot

fix /usr/opt/gnome/src/abi-0.7.1/src/config/platforms/linux

104 # Which links can this platform create. Define one or
105 # both of these options.
106 UNIX_CAN_BUILD_DYNAMIC=1
107 UNIX_CAN_BUILD_STATIC=1

Let no.107 line to

UNIX_CAN_BUILD_STATIC=0



This archive was generated by hypermail 1.03b2.