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

[microblaze-uclinux] adding shared libraries to petalinux



Does anyone know how to add shared libraries to the microblaze petalinux dist.
I have added the shared libraries to /petalinux-v0.20-rc3/software/petalinux-dist/lib.

When I try and compile the code that I created it gives this error:
microblaze-uclinux-g++ -lvenusdrv -lvenus usb_reader.o functions.o -L/home/jdwhite08/petalinux-v0.20-rc3/software/petalinux-dist/romfs/lib /lib/libfplib.a /lib/verify.a /lib/extlib.a /lib/enclib.a
/home/jdwhite08/petalinux- v0.20-rc3/tools/linux-i386/microblaze-uclinux-tools/bin/../lib/gcc/microblaze-uclinux/3.4.1/../../../../microblaze-uclinux/bin/ld.real: cannot find -lvenusdrv
collect2: ld returned 1 exit status
make: *** [usb_reader] Error 1

The microblaze g++ complier is not finding the links to the shared libraries.
How do I link the libraries to g++?
I am trying to add libraries for a usb fingerprint reader and libusb.

Thanks,

Jeff White