[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



Jeff Johnson <jbj@redhat.com> wrote :

> 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.

Grabbed the 0.76-2 source rpm... removed the gcc 3.2 build dependency as I
"only" have 2.96 (from the changelogs, I understood that it was a needed
requirement moslty for x86_64 anyway), but get the following:

[...]
if gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -I../../libelf -I.. -I../../libelf
-I../../lib -I..   -Wall -Werror -g -O2 -MT gelf_rawchunk.o -MD -MP -MF
".deps/gelf_rawchunk.Tpo" \
  -c -o gelf_rawchunk.o `test -f '../../libelf/gelf_rawchunk.c' || echo
'../../libelf/'`../../libelf/gelf_rawchunk.c; \
then mv ".deps/gelf_rawchunk.Tpo" ".deps/gelf_rawchunk.Po"; \
else rm -f ".deps/gelf_rawchunk.Tpo"; exit 1; \
fi
../../libelf/gelf_rawchunk.c: In function `gelf_rawchunk':
../../libelf/gelf_rawchunk.c:54: parse error before `char'
../../libelf/gelf_rawchunk.c:55: `result' undeclared (first use in this
function)
../../libelf/gelf_rawchunk.c:55: (Each undeclared identifier is reported
only once
../../libelf/gelf_rawchunk.c:55: for each function it appears in.)
cc1: warnings being treated as errors
../../libelf/gelf_rawchunk.c:67: warning: control reaches end of non-void
function
make[1]: *** [gelf_rawchunk.o] Error 1
make[1]: Leaving directory
`/home/dude/redhat/tmp/elfutils-0.76/build-ppc-yellowdog-linux/libelf'
make: *** [install-recursive] Error 1

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

Well, "working" would be a good start for me :-)

Matthias

-- 
Clean custom Red Hat Linux rpm packages : http://freshrpms.net/
Red Hat Linux release 8.0.9x (Phoebe) running Linux kernel 2.4.20-2.54
Load : 0.16 0.25 0.31, AC on-line, battery charging: 100% (5:55)





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