Hi Greg,
Greg Ungerer schrieb:
Hi Bernd,
Bernd Büttner wrote:
I'm working on the 20060803 distribution for some time.
Now I want to switch to the newest distribution (20070130).
In the first stage I used a predefined configuration (Freescale
M5282EVB) to
eliminate my faults.
The first 'make' (after make xconfig for vendor) stopped while
producing ucfront.
The reason was the switch '#ifdef lint' in file sg-chksum/crc.c.
I applied the following patch:
diff -Naur a/tools/sg-cksum/Makefile b/tools/sg-cksum/Makefile
--- a/tools/sg-cksum/Makefile 2006-07-28 01:54:58.000000000 +0200
+++ b/tools/sg-cksum/Makefile 2007-03-12 13:12:14.000000000 +0100
@@ -9,4 +9,4 @@
$(PROG): $(SRCS)
- $(HOSTCC) -Werror -Wall -DHAVE_MKSTEMP -o $@ $^
+ $(HOSTCC) -Wall -DHAVE_MKSTEMP -o $@ $^
This works around the problem, doesn't fix it :-)
What was the original error message?
Of course your right, this isn't a clean way to solve the problem.
The error is as follows:
make -C tools/sg-cksum
make[1]: Entering directory
`/home/gw/project/ewebsrv-linux-sys-20070130/tools/sg-cksum'
cc -Werror -Wall -DHAVE_MKSTEMP -o cksum cksum.c crc.c print.c sum1.c sum2.c
crc32.c
cksum.c:38: warning: `copyright' defined but not used
cksum.c:47: warning: `rcsid' defined but not used
crc.c:38: warning: `sccsid' defined but not used
print.c:35: warning: `sccsid' defined but not used
sum1.c:35: warning: `sccsid' defined but not used
sum2.c:35: warning: `sccsid' defined but not used
make[1]: *** [cksum] Fehler 1
make[1]: Leaving directory
`/home/gw/project/ewebsrv-linux-sys-20070130/tools/sg-cksum'
make: *** [tools/cksum] Fehler 2
The warnings break up the make procedure.
I my case they didn't produce further problems.
Thank you,
Bernd
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev