[uClinux-dev] uClinux-dist-20030226.tar.gz : user_only errors (other)

David McCullough davidm at snapgear.com
Tue Mar 4 07:29:30 EST 2003


Jivin Mathieu Rousseau lays it down ...
> Hi
> 
> I try to compile it but it fails. I applied the pacth that David McCullough sent today about missing stuff.
> 
> make menuconfig
> Atmel/AT91
> linux-2.0.x
> uC-libc
> change settings for my card:
> add M55800 card support (eb55 with 256KB ram, 1MB user flash)
> base address for DRAM: 0x02000000
> amount of DRAM: 00040000
> Base address for flash: 0x01000000
> amount of flash: 00100000
> EBI: y  (hum... i don't know if i must check this on but seems to be the way to initialize address. someone can tell me if i'm wrong or not).
> boot from flash: y
> 
> i let the other stuff as configured.
> 
> make lib_only: ok
> 
> make user_only fails, error message below.
> 
> Can you help me.

Here is another patch to fix up the optimisations so taht inlines work,

Cheers,
Davidm

-- 
David McCullough:    Ph: +61 7 3435 2815  http://www.SnapGear.com
davidm at snapgear.com  Fx: +61 7 3891 3630  Custom Embedded Solutions + Security
-------------- next part --------------
Index: vendors/config/armnommu/config.arch
===================================================================
RCS file: /cvs/sw/new-wave/vendors/config/armnommu/config.arch,v
retrieving revision 1.2
diff -u -r1.2 config.arch
--- vendors/config/armnommu/config.arch	3 Mar 2003 23:23:57 -0000	1.2
+++ vendors/config/armnommu/config.arch	4 Mar 2003 12:18:16 -0000
@@ -152,9 +152,9 @@
 	INCCRYPTOLD = -I$(ROOTDIR)/lib/libcrypt_old
 
   ifdef CONFIG_USER_DEBUG
-	CFLAGS  :=  $($(UOPT),$(UOPT),-O1) -g
+	CFLAGS  :=  $(if $(UOPT),$(UOPT),-O1) -g
   else
-	CFLAGS  :=  $($(UOPT),$(UOPT),-O2) -g -fomit-frame-pointer
+	CFLAGS  :=  $(if $(UOPT),$(UOPT),-O2) -g -fomit-frame-pointer
   endif
 
 	CFLAGS  += $(CPUFLAGS)


More information about the uClinux-dev mailing list