[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] Re: socket.h
I've just checked. Petalinux-v0.4-rc3 compiles fine source
int main(int argc, char *argv)
But for some reason final version dont.
On Mon, Sep 21, 2009 at 8:19 PM, Darko Tasovac <tdarko@xxxxxxxxx>
I have a small program which uses socket.h library (#include <sys/socket.h>. I wanted to build it for Petalinux (spartan3e500, microblaze) but there are some problems.
After the make command, the output is
/home/username/petalinux-v0.40-final/tools/linux-i386/microblaze-uclinux-tools/bin/../lib/gcc/microblaze-uclinux/3.4.1/../../../../microblaze-uclinux/include/bits/socket.h:305:24: asm/socket.h: No such file or directory
I tried with #include <asm-microblaze/socket.h>, even created in the include folder asm/socket.h, but nothing. The same error appears. I tried manually to build with microblaze-uclinux-gcc name.c -o name -lsocket, but again nothing.
Has anyone encountered similar problem?