Package: skalibs-dev
Version: 0.47-1
Severity: normal

I tried to compile a simple program

http://skarnet.org/software/misc/infinity.c

that needs skalibs.I can’t find any instructions in the Debian package other
than that the gcc libraries are in /usr/lib, so I tried:

$ gcc -o infinity infinity.c -I/usr/include/diet/skalibs /usr/lib/skalibs/*.a
/usr/bin/ld.bfd.real: /usr/lib/skalibs/libstddjb.a(buffer_putalign.o): 
relocation R_X86_64_PC32 against undefined symbol 
`__errno_location@@GLIBC_2.2.5' can not be used when making a shared object; 
recompile with -fPIC
/usr/bin/ld.bfd.real: final link failed: Bad value
collect2: error: ld returned 1 exit status

Adding -fPIC to the command-line doesn’t help; I presume the error is
intended to mean that the library should be recompiled.

Sorry if I’m missing something obvious, but I couldn’t find any more
information in the documentation or online.

-- System Information:
Debian Release: wheezy/sid
  APT prefers trusty-updates
  APT policy: (500, 'trusty-updates'), (500, 'saucy-updates'), (500, 
'saucy-security'), (500, 'saucy'), (90, 'trusty')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.11.0-18-generic (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

skalibs-dev depends on no packages.

Versions of packages skalibs-dev recommends:
ii  dietlibc-dev  0.33~cvs20120325-4

Versions of packages skalibs-dev suggests:
ii  skalibs-doc  0.47-1

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to