[vlc-devel] Help for linking projectM

xxcv xxcv07 at gmail.com
Fri Dec 4 08:12:46 CET 2009


Jean-Baptiste Kempf wrote:
> Hello guys,
>
> I am asking a linking question because I am a bit stuck.
>
> When linking the projectM module, I receive messages like this:
> /usr/win32/lib/libprojectM.a(projectM.obj):projectM.cpp:(.text+0x8a9):
> undefined reference to `Renderer::SetPipeline(Pipeline&)'
> /usr/win32/lib/libprojectM.a(projectM.obj):projectM.cpp:(.text+0xe57):
> undefined reference to `BeatDetect::detectFromSamples()'
> /usr/win32/lib/libprojectM.a(projectM.obj):projectM.cpp:(.text+0xf48):
> undefined reference to `Renderer::RenderFrame(Pipeline const&,
> PipelineContext const&)'
> see:  http://vlc.pastebin.com/m6b995602
>
> It seems obvious, though, when using i586-mingw32msvc-objdump -t on
> libprojectM.a, I have
> [530](sec  0)(fl 0x00)(ty  20)(scl   2) (nx 0) 0x00000000
> __ZN8Renderer11SetPipelineER8Pipeline
> [503](sec  0)(fl 0x00)(ty  20)(scl   2) (nx 0) 0x00000000
> __ZN10BeatDetect17detectFromSamplesEv
> [513](sec  0)(fl 0x00)(ty  20)(scl   2) (nx 0) 0x00000000
> __ZN8Renderer11RenderFrameERK8PipelineRK15PipelineContext
>
> Any idea?
>
> Best Regards,
>
>   
In archive libprojectM.a:

BeatDetect.o:     file format pe-x86-64

SYMBOL TABLE:
[  0](sec -2)(fl 0x00)(ty   0)(scl 103) (nx 1) 0x0000000000000000 
BeatDetect.cpp
File
[  2](sec  1)(fl 0x00)(ty  20)(scl   2) (nx 1) 0x0000000000000000 
__ZN10BeatDetectC2EP3PCM
AUX tagndx 0 ttlsiz 0x0 lnnos 0 next 0
[  4](sec  1)(fl 0x00)(ty  20)(scl   2) (nx 0) 0x0000000000000270 
__ZN10BeatDetectC1EP3PCM
[  5](sec  1)(fl 0x00)(ty  20)(scl   2) (nx 0) 0x00000000000004e0 
__ZN10BeatDetectD2Ev
[  6](sec  1)(fl 0x00)(ty  20)(scl   2) (nx 0) 0x00000000000004f0 
__ZN10BeatDetectD1Ev
[  7](sec  1)(fl 0x00)(ty  20)(scl   2) (nx 0) 0x0000000000000500 
__ZN10BeatDetect5resetEv
[  8](sec  1)(fl 0x00)(ty  20)(scl   2) (nx 0) 0x0000000000000530 
__ZN10BeatDetect11getBeatValsEPfS0_
[  9](sec  1)(fl 0x00)(ty  20)(scl   2) (nx 0) 0x0000000000000b00 
__ZN10BeatDetect17detectFromSamplesEv
[ 10](sec  1)(fl 0x00)(ty   0)(scl   3) (nx 1) 0x0000000000000000 .text
AUX scnlen 0xb3c nreloc 14 nlnno 0
[ 12](sec  2)(fl 0x00)(ty   0)(scl   3) (nx 1) 0x0000000000000000 .data
AUX scnlen 0x8 nreloc 1 nlnno 0
[ 14](sec  3)(fl 0x00)(ty   0)(scl   3) (nx 1) 0x0000000000000000 .bss
AUX scnlen 0x0 nreloc 0 nlnno 0
[ 16](sec  4)(fl 0x00)(ty   0)(scl   3) (nx 1) 0x0000000000000000 .rdata
AUX scnlen 0x3c nreloc 0 nlnno 0
[ 18](sec  5)(fl 0x00)(ty   0)(scl   3) (nx 1) 0x0000000000000000 .eh_frame
AUX scnlen 0x148 nreloc 8 nlnno 0
[ 20](sec  0)(fl 0x00)(ty  20)(scl   2) (nx 0) 0x0000000000000000 
___gxx_personality_v0

Noticed I have got few more zeros then you...
This is not 2.0.0 but I will try and compile it shortly.




More information about the vlc-devel mailing list