Package: libdnsres
Version: 0.1a-3
Severity: serious

Hi,

When building your package, we get the following:
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/include 
-Wall -O0 -g -DRESOLVSORT -c strlcpy.c
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/include 
-Wall -O0 -g -DRESOLVSORT -c arc4random.c
arc4random.c: In function 'arc4random':
arc4random.c:19: warning: implicit declaration of function 'time'
/bin/sh ./libtool --mode=link x86_64-linux-gnu-gcc  -Wall -O0 -g -DRESOLVSORT 
-o libdnsres.la -rpath /usr/lib -version-info 0:1:0 res_comp.lo res_debug.lo 
res_mkquery.lo res_random.lo res_data.lo res_init.lo res_query.lo res_send.lo 
gethostnamadr.lo getaddrinfo.lo getservbyname.lo getservent.lo base64.lo 
strlcpy.o arc4random.o

*** Warning: Linking the shared library libdnsres.la against the non-libtool
*** objects  strlcpy.o arc4random.o is not portable!
x86_64-linux-gnu-gcc -shared  .libs/res_comp.o .libs/res_debug.o 
.libs/res_mkquery.o .libs/res_random.o .libs/res_data.o .libs/res_init.o 
.libs/res_query.o .libs/res_send.o .libs/gethostnamadr.o .libs/getaddrinfo.o 
.libs/getservbyname.o .libs/getservent.o .libs/base64.o  strlcpy.o arc4random.o 
-Wl,-soname -Wl,libdnsres.so.0 -o .libs/libdnsres.so.0.0.1
/usr/bin/ld: strlcpy.o: relocation R_X86_64_32 against `a local symbol' can not 
be used when making a shared object; recompile with -fPIC
strlcpy.o: could not read symbols: Bad value

You will need to link build strlcpy.c and arc4random.c
with -fPIC, or use libtool to build them.  libtool even
warns you that it's not portable.

Also see section 10.2 of the policy.


Kurt



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to