[Clfs-support] Compiler Error compiling Procps-3.2.7

Nawal <Galileon> Husnoo galileon at gmail.com
Fri Jan 9 05:56:17 PST 2009


Dear CLFS members,

I have a HP iPAQ using an ARM processor, and I thought I'd use CLFS to make
myself a functional and updated OS for it. I am using SVN-0.0.1-20090107. I
have had no problems whatsoever until section 6.18. Procps-3.2.7. I have
followed everything as in the instructions except that I downloaded

http://lfs-matrix.com/pub/clfs/clfs-packages/svn/glibc-2.8.tar.bz2

and

http://lfs-matrix.com/pub/clfs/clfs-packages/svn/glibc-ports-2.8.tar.bz2

instead of


http://cross-lfs.org/files/packages/sysroot-0.0.1/glibc-2.8.tar.bz2

and

http://cross-lfs.org/files/packages/sysroot-0.0.1/glibc-ports-2.8.tar.bz2

because the above links were dead.

I have a problem compiling procps:


arm-unknown-linux-gnu-gcc -fno-common -ffast-math -W -Wall -Wshadow
-Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual
-Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes
-O2 -s  -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb
-frename-registers -fomit-frame-pointer -fno-inline-functions uptime.o proc/
libproc-3.2.7.so -Wl,-warn-common  -o uptime
arm-unknown-linux-gnu-gcc -D_GNU_SOURCE -I proc  -fno-common -ffast-math -W
-Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast
-Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes
-Wmissing-prototypes -O2 -s  -Wdeclaration-after-statement -Wpadded
-Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer
-fno-inline-functions -c -o tload.o tload.c
tload.c:33: warning: redundant redeclaration of 'optind'
/mnt/clfs/usr/include/getopt.h:73: warning: previous declaration of 'optind'
was here
tload.c:34: warning: redundant redeclaration of 'optarg'
/mnt/clfs/usr/include/getopt.h:59: warning: previous declaration of 'optarg'
was here
tload.c: In function 'setsize':
tload.c:68: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [tload.o] Error 1

Any ideas where this may stem from?

Thanks for any recommendations,

Nawal.

-- 
The best way to predict the future is to invent it. - Alan Kay
http://www.galileon.co.uk/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clfs.org/pipermail/clfs-support-clfs.org/attachments/20090109/6265dc2f/attachment.html>


More information about the Clfs-support mailing list