On 4/9/07, Jeff <[EMAIL PROTECTED]> wrote:
>
> I am installing LFS 6.2 on a Via C7 based computer using the Livecd version 
> 6.2-5.
>
> I am well into chapter 6. All sanity checks and compile checks have gone 
> positively until I get to Procps-3.2.6. I get an error code 1 when I perform 
> make. (I will list error below.) I compiled Sed, Libtool, Readline, & perl 
> after this error without any errors. I also downloaded the source for 
> Procps-3.2.7 and received the same error on make.
>
> Error code follows:
>
> cc -D_GNU_SOURCE -I proc -I/usr/include/ncurses -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     -c -o top.o top.c
> top.c: In function 'show_special':
> top.c:680: warning: assignment discards qualifiers from pointer target type
> top.c: In function 'good_uid':
> top.c:842: warning: comparison between signed and unsigned
> top.c:843: warning: comparison between signed and unsigned
> top.c:844: warning: comparison between signed and unsigned
> top.c:847: warning: comparison between signed and unsigned
> top.c: In function 'prochlp':
> top.c:1060: warning: passing argument 5 of 'bsearch' from incompatible 
> pointer t ype
> top.c: In function 'whack_terminal':
> top.c:1922: warning: passing argument 1 of 'setupterm' discards qualifiers 
> from pointer target type
> top.c: In function 'summary_show':
> top.c:2928: warning: passing argument 5 of 'select' discards qualifiers from 
> poi nter target type
> top.c: In function 'task_show':
> top.c:3148: warning: assignment discards qualifiers from pointer target type
> top.c: In function 'window_show':
> top.c:3174: warning: assignment discards qualifiers from pointer target type
> top.c: In function 'main':
> top.c:3348: warning: passing argument 5 of 'select' discards qualifiers from 
> poi nter target type
> top.c:3367: warning: passing argument 5 of 'select' discards qualifiers from 
> poi nter target type
> cc -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls 
> -Wba d-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return 
> -Wstrict-prototyp es -Wmissing-prototypes -O2 -s         top.o 
> proc/libproc-3.2.6.so -Wl,-warn-com mon  -o top -lncurses
> /usr/bin/ld:/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../libncurses.so: file 
> fo rmat not recognized; treating as linker script
> /usr/bin/ld:/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../libncurses.so:1: 
> parse  error
> collect2: ld returned 1 exit status
> make: *** [top] Error 1
>
> End error code.
>
> Any ideas?
>
> Could I just install binaries from the LiveCD if this is only problem that 
> develops?
>
> Thank you, Jeff

It seems that something went wrong with installing ncurses. You could
install the binaries, but
1) it's not even sure if the binaries run fine
2) you would get trouble later.

Best way is reinstalling ncurses.

Tijnema
>
>
> _______________________________________________
> Join Excite! - http://www.excite.com
> The most personalized portal on the Web!
>
>
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to