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

Re: Error recompiling latest 4.1.1 test release on ppc



On Wed, Mar 12, 2003 at 08:03:27PM +0100, Matthias Saou wrote:
> Hi,
> 
> I've tried to rebuild the latest test 4.1.1 rpm (from the 7x source
> package) on YellowDog Linux (basically a port of Red Hat Linux 7.2 to ppc)
> but it fails with this error:
> 
> [...] \
> gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall -Wshadow -I. -I. -I.. -I.
> -I./../libelf
> -I./../libebl -I./../lib -I./../libdwarf -I..   -Wall
> -DSRCDIR=\"/home/dude/redhat/tmp/rpm-4.1.1/elfutils/src\"
> -DOBJDIR=\"/home/dude/redhat/tmp/rpm-4.1.1/elfutils/src\" -O3 -fsigned-char
> -c `test -f 'i386_ld.c' || echo './'`i386_ld.c
> In file included from ../libebl/libebl.h:18,
>                  from ld.h:21,
>                  from i386_ld.c:25:
> /usr/include/ltdl.h:174: warning: declaration of `error' shadows global
> declaration
> i386_ld.c: In function `elf_i386_finalize_plt':
> i386_ld.c:450: parse error before `val'
> i386_ld.c:451: `val' undeclared (first use in this function)
> i386_ld.c:451: (Each undeclared identifier is reported only once
> i386_ld.c:451: for each function it appears in.)
> i386_ld.c:481: parse error before `val'
> make[4]: *** [i386_ld.o] Error 1
> make[4]: Leaving directory `/home/dude/redhat/tmp/rpm-4.1.1/elfutils/src'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/dude/redhat/tmp/rpm-4.1.1/elfutils'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/dude/redhat/tmp/rpm-4.1.1/elfutils'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/dude/redhat/tmp/rpm-4.1.1'
> make: *** [all] Error 2
> 
> Is this a bug? Ideas on how to fix this?
> I had to modify pretty big parts of the system in order to get so far, for
> example I recompiled gcc 2.96, db3 3.3 and python 2.2.2 all from Red Hat
> Linux 7.3 source rpms.
> 

gcc-2.96 shouldn't matter, db-3.3 is moot, as rpm-4.1.1 has db-4.1.25 internal,
python-2.2.x you need. And, fwiw, rpm needs nothing from elfutils/src, rip
away if necessary.

Try getting the elfutils-0.76 package from Raw Hide to compile. That's what
is (reluctantly) internal to rpm sources, and where you are failing. rpm-4.1.1
will (or should) detect and link against external elfutils if present.

BTW, I have no idea how solid elfutils on ppc is atm. It's "working" here,
but that ain't quite "solid".

73 de Jeff

-- 
Jeff Johnson	ARS N3NPQ
jbj@redhat.com (jbj@jbj.org)
Chapel Hill, NC





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