Issues.00024 - lordmundi/wikidoctest GitHub Wiki
00024: dl.a needs to be added as a library dependency
Summary: dl.a needs to be added as a library dependency
Created: 2007–03–27 11:35
Status: Released
Category: Bug
From: frankie
Version: 1.0
Released_In: 1.1
Description:
Some user's have reported seeing errors similar to the following when building their sim:
In function
`DSF_LoadPlugin':/vr/brad/doug1.6/src/dsp/dsp_plugin.c:196: undefined
reference to `dlopen'
:/vr/brad/doug1.6/src/dsp/dsp_plugin.c:269: undefined reference to `dlerror'
:/vr/brad/doug1.6/src/dsp/dsp_plugin.c:203: undefined reference to `dlsym'
:/vr/brad/doug1.6/src/dsp/dsp_plugin.c:239: undefined reference to `dlsym'
:/vr/brad/doug1.6/src/dsp/dsp_plugin.c:240: undefined reference to `dlsym'
:/vr/brad/doug1.6/src/dsp/dsp_plugin.c:241: undefined reference to `dlsym'
:/vr/brad/doug1.6/src/dsp/dsp_plugin.c:277: undefined reference to `dlerror'
:/vr/brad/doug1.6/src/dsp/dsp_plugin.c:250: undefined reference to `dlclose'
This is because the sim needs dl.a to be linked in to satisfy these.
Comments
Workaround: In graphics_comm_init.c, add "dl.a" as a dependency in the TRICK header. —frankie