[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] USB



Hello,

 

I tried to compile mb-uClinux with USB support targeting the ML403 board.

The cvs and mb-toolchain were downloaded about a week ago.

The following error occurs during ‘make all’ (see below for more details):

hcd.c:312: error: `uClinux' undeclared (first use in this function)

 

There is a thread describing basically the same error, but without a specific solution.
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/archive/2005/11/msg00245.html

 

I appreciate your help!

 

Martin

 

******************************************************* Error during "make all"

mb-gcc -D__KERNEL__ -I/home/elnexo/uclinux-cvs/uClinux-dist/linux-2.4.x/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O1 -g -fno-strict-aliasing -fno-common -DPLATFORM=uclinux-auto
-O2 -fno-builtin -DNO_MM -DNO_FPU -D__ELF__ -DMAGIC_ROM_P TR -DUTS_SYSNAME="uClinux"
-D__linux__ -I/home/elnexo/mbtoolchain/bin/../lib/gcc/ microblaze/3.4.1/./include
-mxl-soft-div -mno-xl-soft-mul   -nostdinc -iwithprefi x include -DKBUILD_BASENAME=hcd 

-DEXPORT_SYMTAB -o hcd.o -c hcd.c

hcd.c: In function `rh_string':

hcd.c:312: error: `uClinux' undeclared (first use in this function)

hcd.c:312: error: (Each undeclared identifier is reported only once

hcd.c:312: error: for each function it appears in.)

hcd.c: At top level:

hcd.c:1434: warning: 'hcd_operations' defined but not used

hcd.c:1445: warning: 'hcd_irq' defined but not used

make[4]: *** [hcd.o] Error 1

make[4]: Leaving directory `/home/elnexo/uclinux-cvs/uClinux-dist/linux-2.4.x/dri vers/usb'

make[3]: *** [first_rule] Error 2

make[3]: Leaving directory `/home/elnexo/uclinux-cvs/uClinux-dist/linux-2.4.x/dri vers/usb'

make[2]: *** [_subdir_usb] Error 2

make[2]: Leaving directory `/home/elnexo/uclinux-cvs/uClinux-dist/linux-2.4.x/dri vers'

make[1]: *** [_dir_drivers] Error 2

make[1]: Leaving directory `/home/elnexo/uclinux-cvs/uClinux-dist/linux-2.4.x'

make: *** [linux] Error 1

*************************************************************************