Hi all.
I have an autoconfig.in file for usb enabled hardware. I
wanted to compile the uclinux kernel for usb. but when i compile the
kernel with usb enabled, i get some error. I m not able to understand
the error. can anyone help me plz.... i had attached the
autoconfig.in file with this.
here is the error it shows while "make"
----------------------------------------------------------------------------------------------------------------
mb-gcc -D__KERNEL__ -I/home/anuroop/uClinux/uClinux-2.4.x/include
-Wall -Wstrict-prototypes -Wno-trigraphs -O1 -g -fno-strict-aliasing
-fno-common -DPLATFORM=ml401 -O2 -fno-builtin -DNO_MM -DNO_FPU
-D__ELF__ -DMAGIC_ROM_PTR -DUTS_SYSNAME="uClinux" -D__linux__
-I/root/mb-compiler/bin/../lib/gcc-lib/microblaze/2.95.3-4/./include
-mxl-barrel-shift -mno-xl-soft-div -mno-xl-soft-mul -nostdinc
-iwithprefix include -DKBUILD_BASENAME=hcd -DEXPORT_SYMTAB -o hcd.o
-c hcd.c
hcd.c: In function `rh_string':
hcd.c:312: `uClinux' undeclared (first use in this function)
hcd.c:312: (Each undeclared identifier is reported only once
hcd.c:312: for each function it appears in.)
hcd.c: At top level:
hcd.c:1514: warning: `used' attribute directive ignored
hcd.c:1514: warning: `used' attribute directive ignored
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/anuroop/uClinux/uClinux-2.4.x/drivers/usb'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory `/home/anuroop/uClinux/uClinux-2.4.x/drivers/usb'
make[2]: *** [_subdir_usb] Error 2
make[2]: Leaving directory `/home/anuroop/uClinux/uClinux-2.4.x/drivers'
make[1]: *** [_dir_drivers] Error 2
make[1]: Leaving directory `/home/anuroop/uClinux/uClinux-2.4.x'
make: *** [linux] Error 1
[root@localhost uClinux-dist]#
----------------------------------------------------------------------------------------------------------------
so plz.... any one help me....to go further...,
thanks & regards,
Anuroop
Attachment:
auto-config.in
Description: Binary data