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