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

[microblaze-uclinux] Re: [uClinux-dev] Problem in compiling the UCLINUX Kernel Image



well Dr. John,
I dont have a usr dir in the Uclinux-dist dir. but i
have user dir in that and It doesnt contain and
"include" directory.. 

well I have an include dir in the linux-2.4.x dir
which has the file /asm/bitops.h

does it help .. do u need any other information.. 

hope you read my prev mail.. I got an error.. I think
that is different for this one.. 

Regards
Badrinath
--- John Williams <jwilliams@itee.uq.edu.au> wrote:
> badri v wrote:
> > while compiling the kernel
> > ie when I say "make linux" 
> > I get this error
> > 
> > "
> > cc -I/home/uClinux-dist/linux-2.4.x/include -c -o
> > build/doc_loadipl.o doc_loadipl.c
> > In file included from
> >
>
/home/uClinux-dist/linux-2.4.x/include/asm/bitops.h:10,
> >                  from
> >
>
/home/uClinux-dist/linux-2.4.x/include/asm/posix_types.h:19,
> >                  from
> >
>
/home/uClinux-dist/linux-2.4.x/include/linux/posix_types.h:46,
> >                  from
> >
>
/home/uClinux-dist/linux-2.4.x/include/linux/types.h:15,
> >                  from doc_loadipl.c:32:
> >
> /home/uClinux-dist/linux-2.4.x/include/asm/system.h:
> > In function `__xchg':
> >
>
/home/uClinux-dist/linux-2.4.x/include/asm/system.h:108:
> > unknown register name `r12' in `asm'
> > make[2]: *** [build/doc_loadipl.o] Error 1
> > make[2]: Leaving directory
> > `/home/uClinux-dist/user/mtd-utils'
> > make[1]: *** [all] Error 2
> > make[1]: Leaving directory
> `/home/uClinux-dist/user'
> > make: *** [subdirs] Error 1
> 
> you host gcc is picking up the uClinux include/asm
> folder before the 
> system one.
> 
> Can you confirm that your development box has the
> directory 
> /usr/include/asm, and that it contains bitops.h?
> 
> John
> 
> 
> 
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev@uclinux.org
>
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev@uclinux.org


__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/