[Gambas-user] a function in shared library call another function in another shared library

juelin juergen.linder at ...17...
Wed May 20 16:22:01 CEST 2009


I have two shared library at my gambas program. The shared library
(libftd2xx) works well.
But when I call the fuction "OpenDevice" from sharedlibrary liblumax I got
returncode 127.
Curse the function OpenDevice" from liblumax call the funsction "SETVIDPID"
from libftd2xx.

My gambas program declarations:
EXTERN Lumax_OpenDevice(PhysicalDevice AS Integer, Channel AS Integer) AS
Integer IN "/usr/libliblumax"
EXTERN FT_SetVIDPID(pwdVID AS Integer, pwdPID AS Integer) AS Integer IN
"/usr/lib/libftd2xx"
    x = Lumax_OpenDevice(1, 0)  ' here comes the error

I got this message on console:
LaserEdit: symbol lookup error: /usr/lib/liblumax.so: undefined symbol:
FT_SetVIDPID

Can someone help me????

thank you and kind regards
Jürgen


-- 
View this message in context: http://www.nabble.com/a-function-in-shared-library-call-another-function-in-another-shared-library-tp23636488p23636488.html
Sent from the gambas-user mailing list archive at Nabble.com.





More information about the User mailing list