makefile question / problem
From: Sagaert Johan (sagaert.j)
Date: 09/24/05
- Next message: Kenneth: "Re: makefile question / problem"
- Previous message: ask: "reliable way to set a kernel thread priority"
- Next in thread: Kenneth: "Re: makefile question / problem"
- Reply: Kenneth: "Re: makefile question / problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 24 Sep 2005 02:31:26 +0200
Hi
I have a problem with a makefile
Why does the linker gets executed after the compiling finished ?
---------snip -------
$(DEMO0).o: Makefile $(DEMO0).c mcf_qspi.h
$(CC) $(CFLAGSP) -c -o $(DEMO0).o $(DEMO0).c
$(STRIP) -g $(DEMO0).o
echo "done"
i would expect that building would end with the line 'echo done' but after
this the linker seems to be executed
console output after running make
[root@FedoraPC tftpboot]# make mcf_qspi
m68k-elf-gcc -D__KERNEL__ -DMODULE -D__linux__ -DMAGIC_ROM_PTR -DNO_MM -DNO_
FPU -m5307 -Wa,-S -Wa,-m5307 -O1 -g -Wall -Wstrict-prototypes -Wno-trigraphs
-pipe -fno-builtin -fno-strict-aliasing -fno-common -nostdinc -I/usr/local/
lib/gcc-lib/m68k-elf/2.95.3/include -I/tftpboot/uClinux-dist-20030909-SSV200
40610/linux-2.4.x/include -DMCF5282 -c -o mcf_qspi.o mcf_qspi.c
m68k-elf-strip -g mcf_qspi.o
echo "done"
done
m68k-elf-gcc mcf_qspi.o -o mcf_qspi
/usr/local/m68k-elf/bin/ld.real: cannot open crt0.o: No such file or
directory
collect2: ld returned 1 exit status
make: *** [mcf_qspi] Error 1
[root@FedoraPC tftpboot]#
Any hint ?
- Next message: Kenneth: "Re: makefile question / problem"
- Previous message: ask: "reliable way to set a kernel thread priority"
- Next in thread: Kenneth: "Re: makefile question / problem"
- Reply: Kenneth: "Re: makefile question / problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|