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

[microblaze-uclinux] RE: Libcurl not getting compiled on Petalinux with MMU



Hi All,
Any answers to this one?
 
Thanks,
-Mayuri


From: owner-microblaze-uclinux@xxxxxxxxxxxxxxxxxxxx [mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxxxxxxxx] On Behalf Of Kulkarni, Mayuri
Sent: Monday, October 26, 2009 3:58 PM
To: microblaze-uclinux@xxxxxxxxxxxxxx
Subject: [microblaze-uclinux] Libcurl not getting compiled on Petalinux with MMU

Hello,
I have the petalinux-v0.40-final build and I have configured MMU support for the kernel. I am using the Petalinux for a Xilinx Mircroblaze CPU.
When I try including the curl library and build the kernel, I keep getting the following compilation error:
make[4]: Entering directory `/home/mayuri/petalinux-v0.40-final/software/petalinux-dist/lib/libpcap/build'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/mayuri/petalinux-v0.40-final/software/petalinux-dist/lib/libpcap/build'
make[3]: Leaving directory `/home/mayuri/petalinux-v0.40-final/software/petalinux-dist/lib/libpcap'
In file included from /home/mayuri/petalinux-v0.40-final/tools/linux-i386/microblaze-glibc-root/bin/../microblaze-linux-elf/usr/include/libintl.h:102,
                 from ../../src/gettext.h:25,
                 from ../../src/idn.c:36:
/home/mayuri/petalinux-v0.40-final/tools/linux-i386/microblaze-glibc-root/bin/../microblaze-linux-elf/usr/include/locale.h:125: error: expected identifier or â(â before â;â token
        make[7]: *** [idn.o] Error 1
 
I understand that the latest version of Petalinux does not have support for C++ applications with MMU on. The curl build/config.log shows some errors while trying to use mb-linux-g++. Is there a workaround by which I can compile the libcurl in the current version of Petalinux or will I have to wait till the C++ on MMU support release comes by?
 
Thanks,
-Mayuri