Public bug reported:

ld says:
/usr/bin/ld: /usr/lib/libXxf86vm.a(XF86VMode.o): relocation R_X86_64_32 against 
`a local symbol' can not be used when making a shared object; recompile with 
-fPIC

so I add -fPIC to CFLAGS in debian/rules and rebuild, reinstall, and the
same command (which was: cc -Wall -fPIC `pkg-config gtk+-2.0 --cflags`
-I/usr/include main.o /usr/lib/libXxf86vm.a -o gamma.so -L/usr/lib/
`pkg-config gtk+-2.0 --libs` -shared) works.

I don't know if this is a 'fix' or if it just makes it work with
gkrellm-gamma.

** Affects: libxxf86vm (Ubuntu)
     Importance: Untriaged
         Status: Unconfirmed

-- 
Cant't build against libxxf86vm-dev
https://launchpad.net/bugs/59402

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to