Hi all,
It's completely not related to ML developing but I hope somebody here can help me with this problem.
There is a mini computer called Rasberry Pi 2. It runs linux (debian wheezy) and I would like to use the hardware IO ports of it from Lazarus (free pascal compiler and ide).
There is guy who developed a software library called wiringPi with C source.
Until now I used the previous model of Raspberry Pi and an old version of wiringPi's object file with a Pascal wrapper I wrote for it.
Right now this old version cannot work because the hardware changes of the Raspberry Pi 2, so I need the new version of wiringPi.
And the problem starts here: If I build the newer wiringPi from the sources the new object file contains several strange symbol like __aeabi_idiv, __aeabi_idivmod, etc.
When I try to use my wrapper with this new object file the pascal linker cannot handles this symbols, so it fails on it:
/usr/bin/ld.bfd: wiringPi.o undefined reference to symbol '__aeabi_idiv@@GCC3.5'
//lib/arm-linux-gnueabihf/libgcc_s.so.1: error adding symbols: DSO missing from command lineI peek inside the object file with objdump -t and see this symbol as
00000000 *UND* __aeabi_idiv
Also I see it in the libgcc_s.so.1 with objdump -T
0000f950 g DF .text 00000000 GCC_3.5 __aeabi_idiv
I tried to remove this strange symbols from the object file with objcopy --strip-symbol but it said it not stripped because it is named in a relocation.
I tried to search on the web and find not too much but I feel this is something similar to it:
http://glandium.org/blog/?p=2510Is there any way to create this .o file without these __aeabi stuff?
I have no idea how I can solve this so please give me some clue if you are more familiar with these things.
Thanks in advance.
Edit FYI:
I use this Raspi to control a camera through Wifi and not just the camera itself but some servo motor which turns the focus wheel and change the aperture during a long exposition shot and remote control several flash units by radio.