linking error using mb-g++

Specification EDK version:8.2i FPGA Board: Virtex II Pro

My source code requires g++ compiler. However, when trying to use g++ to compile a very simple code on EDK 8.2i, the following error appears.

/microblaze_a0/lib//libxil.a(xilfatfs_wd.o): In function `make_root_directory': /cygdrive/c/............/microblaze_a0/libsrc/xilfatfs_v1_00_a/src/src/ xilfatfs_wd.c(.text+0x238): undefined reference to `get_partition_info' collect2: ld returned 1 exit status

This linker error does not occur when using gcc compiler, but my source code requires g++ compilation. Has anyone encountered this problem before?

Maybe its possible the xilfatfs_fat.c file is written for gcc compiler only.....

Priyantha De Silva

Reply to
Bathala
Loading thread data ...

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.