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

[microblaze-uclinux] cross-compiling with microblaze



Hi,

I am cross compiling Pixil which is based on microwindows with the
microblaze.But i am getting errors as follows:mb-g++ -c  -DPIXIL
-fpermissive -Wall -O3  -DNANOX -DNANO_X -I. -I../
-I/home/sujatha/pixil-1.2.3/include 
-I/home/sujatha/pixil-1.2.3/libs/flnx
-I/home/sujatha/pixil-1.2.3/libs/flek
-I/home/sujatha/microwindows-0.90/src/include -o FSocket.o FSocket.cxx
In file included from FSocket.cxx:4:
FSocket_Posix.cxx:10: stropts.h: No such file or directory
In file included from FSocket.cxx:4:
FSocket_Posix.cxx:16: sys/socket.h: No such file or directory
FSocket_Posix.cxx:17: sys/utsname.h: No such file or directory
FSocket_Posix.cxx:18: netinet/in.h: No such file or directory
FSocket_Posix.cxx:19: arpa/inet.h: No such file or directory
FSocket_Posix.cxx:21: netinet/tcp.h: No such file or directory
In file included from FSocket.cxx:4:
FSocket_Posix.cxx:27: netdb.h: No such file or directory
make[2]: *** [FSocket.o] Error 1
make[2]: Leaving directory `/home/sujatha/pixil-1.2.3/libs/flek/src'
make[1]: *** [_subdir_flek/src] Error 2
make[1]: Leaving directory `/home/sujatha/pixil-1.2.3/libs'
make: *** [_subdir_libs] Error 2

These .h files are actually located in usr/include.When we use gcc by
default it will take from /usr/include.While using mb-gcc it is
searching in the microblaze-elf-tools/bin.In its include directory these
files are not present.When i include the /usr/include path it is giving
error as:
inconsistent operand constraints in an `asm'

what am i doing wrong?
Any suggestions?

Thanks in advance,
sujatha



___________________________
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/