[parisc-linux] Unable to compil linux kernel

Bruno Vidal bruno_vidal@hpfrcu03.france.hp.com
Tue, 10 Oct 2000 17:42:29 +0200


	Hi
I succeded to recompile all tools needed for compiling linux kernel.
(the problem was only that I was using the wrong target type).
But I've have a strange problem while compiling (I perhaps made a mistake somewhere):
#pwd
/opt/linux_hppa/src/linux/drivers/char

#type gcc
gcc is hashed (/opt/linux_hppa/hppa-linux/bin/gcc)
 
#file /opt/linux_hppa/hppa-linux/bin/gcc
/opt/linux_hppa/hppa-linux/bin/gcc:     PA-RISC1.1 shared executable dynamically linked -not stripped 

#gcc --version
2.96

while the "make palo":
#gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o conmakehash conmakehash.c
/opt/linux_hppa/lib/gcc-lib/hppa-linux/2.96/../../../../hppa-linux/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
-> that the problem, where this "-lc" comes from ???

#/opt/linux_hppa/lib/gcc-lib/hppa-linux/2.96/../../../../hppa-linux/bin/ld --version
GNU ld 2.10.91
Copyright 2000 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
  Supported emulations:
   hppalinux

	Thanks 


-- 
	Vidal Bruno, (770-4271)
        SSD-HA Team, HP-UX & LINUX Support
	bruno_vidal@admin.france.hp.com