[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AW: [microblaze-uclinux] USB
Hello and Thanks for the response!
Is there a way to do this platform wide?
Which files would have to be modified?
Martin
-----Ursprüngliche Nachricht-----
Von: Dr. Johann Pfefferl [mailto:pfefferl@xxxxxxx]
Gesendet: Dienstag, 3. Oktober 2006 15:36
An: microblaze-uclinux@xxxxxxxxxxxxxx
Betreff: Re: [microblaze-uclinux] USB
Hello,
you have to replace the UTS_SYSNAME in line 312 with
__stringify(UTS_SYSNAME)
. But I think that overall the UTS_SYSNAME isn't created correctly on
the microblaze platform.
Hans
Steiner Martin <Martin.Steiner@xxxxxxxxxxxx> wrote:
> 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/m
> sg00245.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
>
> ************************************************************************
> *
>
>
>
--
Dr. Johann Pfefferl --------------- mailto pfefferl at gmx dot net
==
-o) A computer program does what you tell it to do,
/\\ not what you want it to do.
_\_v-
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/