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

[microblaze-uclinux] shared library



Hello forks :
 My friend , Ken-Shin, has some problems as following, he can not add the microblaze-uclinux mail list ,so I copy the problem as following
-------------------------------
Hi,
 
I want to build my own shared library for my applications. (Tools is the Petalinux)
I tried modifying Makefile built by petalinux-new-app (e.g. add "UCLINUX_BUILD_LIB = 1" & "BUILD_SHARED_ = 1" or add "-mid-shared-library"),
but resulted in every kind of error messages. (e.g. libuni.so.elf2flt(.text+0x5190): undefined reference to `main')
 
Does anyone know how to build a shared library?
 
Thanks,
Ken-Shin

--
Bruce Lan
Best regards