Thanks for the suggestion. The problem was in
linux-2.4.x/arch/m68knommu/platform/5235/Rules.make. I hard coded the
patch (a directory) in the file.

And as I was typing this email, I discovered that this has been fixed,
and it's in cvs. Looks like I've got some importing to do.

The new toolchain also has issues with this conflict:

init/do_mounts.c:
Static char root_device_name[64];

include/linux/fs.h (included in do_mounts.c)
extern char root_device_name[];

The 3.4.0 toolchain is ok with this, but 4.1.1 balks. I used an #if to
work around this.

More errors to fix and warnings to ignore.

I'm guessing no one has done this before. Hopefully, this quest ends up
with me having shared libraries!

- Jate S.

---Original Message---
Hi,

Have you tried to compile removing the -I../include flag?

Regards,

Daniel

En/na Jate Sujjavanich ha escrit:
> I've just installed the m68k-uclinux-tools-20061214.sh. When
attempting 
> to make dep uClinux-dist with linux-2.4.31-uc0, I get the following
error.
> 
> make[3]: Entering directory 
>
`/mnt/reiser/jate/experimental/uClinux-dist/linux-2.4.x/arch/m68knommu/k
ernel' 
> 
> /mnt/reiser/jate/experimental/uClinux-dist/linux-2.4.x/scripts/mkdep 
> -fno-builtin -nostdinc -D__KERNEL__ 
> -I/mnt/reiser/jate/experimental/uClinux-dist/linux-2.4.x/include
-Wall 
> -Wstrict-prototypes -Wno-trigraphs -O1 -g -fno-strict-aliasing 
> -fno-common -I../include -pipe -DNO_MM -DNO_FPU -m5307 -Wa,-S
-Wa,-m5307 
> -D__ELF__ -DMAGIC_ROM_PTR -DUTS_SYSNAME=\"uClinux\" -D__linux__ -O1  
> -nostdinc -iwithprefix include -- bios32.c console.c m68k_defs.c 
> m68k_ksyms.c process.c ptrace.c semaphore.c setup.c sys_m68k.c time.c 
> traps.c > .depend
> 
> realpath(../include) failed, No such file or directory
> make[3]: *** [fastdep] Error 1
> make[3]: Leaving directory 
>
`/mnt/reiser/jate/experimental/uClinux-dist/linux-2.4.x/arch/m68knommu/k
ernel' 
> 
> 
> 
> However, when I revert to my old toolchain (3.4.0), make dep works. I 
> believe it was Bernardo Innocenti's gcc 3 toolchain. Any hints?
> 
> 
> - Jate S.
> 
> 
>
------------------------------------------------------------------------
> 
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev at uclinux.org
<http://mailman.uclinux.org/mailman/listinfo/uclinux-dev> 
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev at uclinux.org
<http://mailman.uclinux.org/mailman/listinfo/uclinux-dev> 
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev


-- 
Daniel Alomar i Claramonte
Research & Development Electronic Dept.
SERRA SOLDADURA, S.A.
WEB Site: http://www.serrasold.com
Knowledge Site: http://serratron.serrasold.com

_______________________________________________
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

Reply via email to