Linux PARISC architecture development
 help / color / mirror / Atom feed
* [parisc-linux] Unable to compil linux kernel
@ 2000-10-10 15:42 Bruno Vidal
  2000-10-11  1:03 ` Alan Modra
  0 siblings, 1 reply; 2+ messages in thread
From: Bruno Vidal @ 2000-10-10 15:42 UTC (permalink / raw)
  To: parisc-linux@thepuffingroup.com

	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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [parisc-linux] Unable to compil linux kernel
  2000-10-10 15:42 [parisc-linux] Unable to compil linux kernel Bruno Vidal
@ 2000-10-11  1:03 ` Alan Modra
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Modra @ 2000-10-11  1:03 UTC (permalink / raw)
  To: Bruno Vidal; +Cc: parisc-linux

On Tue, 10 Oct 2000, Bruno Vidal wrote:

> -> that the problem, where this "-lc" comes from ???

That's libc.a or libc.so  You need to compile and install glibc.

Incidentally, it's often useful to add -v to a failing gcc command line to
see exactly how gcc is calling the assembler/linker.  For link problems,
-Wl,-t also can help.

-- 
Linuxcare.  Support for the Revolution.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-10-11  1:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-10 15:42 [parisc-linux] Unable to compil linux kernel Bruno Vidal
2000-10-11  1:03 ` Alan Modra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox