Re: Compile prob. under Linux/PPC

Shaw Terwilliger (sterwill@postman.sourcegear.com)
Mon, 20 Sep 1999 14:11:32 -0500


Glenn Hisdal wrote:
> I have tried to compile AbiWord 0.7.5 under Linux/PPC, but It won't compile.
> I get the following error msg:

> Linking static
> /home/glenn/src/abi-0.7.5/src/Linux_2.2.10_ppc_OBJ/bin/AbiWord_s
> /usr/X11R6/lib/libXext.a(extutil.o): In function `_default_exterror':
> extutil.o(.text+0x3e6): undefined reference to `_IO_stderr_'
> extutil.o(.text+0x3ee): undefined reference to `_IO_stderr_'
> collect2: ld returned 1 exit status
> make[4]: ***
> [/home/glenn/src/abi-0.7.5/src/Linux_2.2.10_ppc_OBJ/bin/AbiWord_s] Error 1
> make[4]: Leaving directory `/home/glenn/src/abi-0.7.5/src/wp/main/unix'
> make[3]: *** [build] Error 2
> make[3]: Leaving directory `/home/glenn/src/abi-0.7.5/src/wp/main'
> make[2]: *** [build] Error 2
> make[2]: Leaving directory `/home/glenn/src/abi-0.7.5/src/wp'
> make[1]: *** [build] Error 2
> make[1]: Leaving directory `/home/glenn/src/abi-0.7.5/src'
> make: *** [compile] Error 2

I'm now using a PowerBook G3 as my primary development machine, and
it's running Linux 2.2.12. I'm not, however, using the LinuxPPC
distribution, but Debian for PowerPC instead.

I don't have access to a LinuxPPC installation right now, but
it looks like libXext.a is miscompiled (and depends on libraries
not available), or is requiring functions from a library we
are not linking with. I have no problems linking both dynamic and
static binaries with a Debian distribution.

You only need one binary (dynamic or static), we just compile both
for distribution purposes. You can pass the variable
UNIX_CAN_BUILD_STATIC set to 0 to make and it will just skip the
static build rule. Something like the following should work:

make UNIX_CAN_BUILD_STATIC=0

-- 
Shaw Terwilliger


This archive was generated by hypermail 1.03b2.