orbital icon indicating copy to clipboard operation
orbital copied to clipboard

undefined symbol "weston_parse_transform"

Open Raimun opened this issue 8 years ago • 2 comments

Hi,

I'm trying to start orbital on an embedded platform. I've managed to cross compile orbital and the patched weston. Weston runs ok using drm-backend but I can't get orbital running. If I try to execute either orbital or orbital-launch binaries I get the error: .../src/compositor/backend.cpp:73] == "Cannot load library /usr/lib/orbital/compositor/backends/libdrm-backend.so: (/usr/lib/westom-1/drm-backend.so: undefined symbol weston_parse_transform)"

I can see that this symbol is on the weston application binary, not on the library, but I don't know how could I link it.

If I set orbital-client as client in ".config/weston.ini" and try to run weston, I have no error messages but the screen goes black and nothing else happens.

Any hint, please?

Regards,

Raimundo Sagarzazu

Raimun avatar May 03 '16 13:05 Raimun

You can find the definition of weston_parse_transform() in weston's codebase and add WL_EXPORT to it, that should fix it.

giucam avatar May 11 '16 05:05 giucam

I can see that weston_parse_transform() is in src/weston.c and already has WL_EXPORT attribute on it. Maybe the problem is that I’m building libweston as an executable, not as a library. Could be? This code is on the “/usr/bin/weston” binary, that is not linked to “/usr/bin/orbital”. If so, how should I build libweston or link it to orbital?

Thankyou,

De: Giulio Camuffo [mailto:[email protected]] Enviado el: miércoles, 11 de mayo de 2016 7:58 Para: giucam/orbital CC: Raimundo Sagarzazu; Author Asunto: Re: [giucam/orbital] undefined symbol "weston_parse_transform" (#32)

You can find the definition of weston_parse_transform() in weston's codebase and add WL_EXPORT to it, that should fix it.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHubhttps://github.com/giucam/orbital/issues/32#issuecomment-218368992

Raimun avatar May 12 '16 08:05 Raimun