On Tue, Oct 07, Duncan noorman wrote:
> In an attemt to build from postifxi srpm
> rpmbuild --rebuild --target=ppc64 postfix-2.3.2-12.6.src.rpm
> we see:
> /usr/bin/ld:warning: powerpc:common64 architecture of input file XXX is
> incompatible with powerpc:common output
rpm has no support for telling gcc about the desired architecture.
SLES10 gcc defaults to 32bit powerpc-linux, but many configure scripts
look at the 'uname -m' output and think that 64bit powerpc64-linux code
will be created by gcc.
Please use 'powerpc32 rpmbuild --rebuild postfix-2.3.2-12.6.src.rpm' to
set the 'uname -m' output for subprocesses to 'ppc'.
> and /usr/src/packages/BUILD/postfix-2.3.2/src/global/dict_mysql.c:444:
> undefined reference to `msg_info'
>
> in an attempt to rectiffy the mysql problems we tried building mysql from
> the srpm.. but this fails with the message
> libstdc++.so: could not read symbols: File in wrong format
Running all commands via 'powerpc32 commandd ...' will fix this.
To simplify that, run 'powerpc32 bash' to get a "32bit shell".
Olaf
--
To unsubscribe, e-mail:
opensuse-ppc+unsubscribe@...
For additional commands, e-mail:
opensuse-ppc+help@...