UNKNOWN on DragonFly: recompile with -fPIC #184

Closed
kthakore opened this Issue Jul 26, 2011 · 1 comment

2 participants

@kthakore
PerlGameDev member

cc -shared -L/usr/local/lib -o blib/arch/auto/SDL/Pango/Context/Context.so lib/SDL/Pango/Context.o src/support/win32.o -L/usr/home/cpan/pit/bare/conf/perl-5.8.9/.cpanplus/5.8.9/build/Alien-SDL-1.421/blib/lib/auto/share/dist/Alien-SDL/1.421_6faa3310/lib -Wl,-rpath,/usr/home/cpan/pit/bare/conf/perl-5.8.9/.cpanplus/5.8.9/build/Alien-SDL-1.421/blib/lib/auto/share/dist/Alien-SDL/1.421_6faa3310/lib -lSDL -pthread -L/usr/local/lib -lSDL -lSDL_Pango
[...]/libSDL_Pango.a(SDL_Pango.o):(.rodata+0x0): multiple definition of _MATRIX_WHITE_BACK'
lib/SDL/Pango/Context.o:(.rodata+0x0): first defined here
[...]/libSDL_Pango.a(SDL_Pango.o):(.data+0x20): multiple definition of
MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER'
lib/SDL/Pango/Context.o:(.data.rel+0x20): first defined here
ld: [...]/libSDL_Pango.a(SDL_Pango.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
[...]/libSDL_Pango.a: could not read symbols: Bad value

Reports:
http://www.cpantesters.org/cpan/report/9657c262-0a1f-11e0-bb29-ad544afd17af
http://www.cpantesters.org/cpan/report/4f4a0f94-0865-11e0-bb29-ad544afd17af
http://www.cpantesters.org/cpan/report/40666788-0780-11e0-bb29-ad544afd17af

@kthakore kthakore was assigned Jul 26, 2011
@jtpalmer
PerlGameDev member

The "recompile with -fPIC" problems were fixed a while ago.

@jtpalmer jtpalmer closed this Jun 24, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment