[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Build Heimdal with enable-shared option



I need compile heimdal-0.6.3 with enable-shared option but I execute "make" and it fails in the build process.
 
The configure options are:
./configure --prefix=/usr/local --enable-shared --with-openssl=/usr/local \
--without -readline --without-openldap --disable-berkeley-db
 
The output is:
 
Making all in sl
/bin/bash ../../libtool --mode=link gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast
-Wmissing-declarations -Wnested-externs -g -O2    -o libsl.la -rpath /usr/local/lib
-version-info 1:2:1 sl.lo strtok_r.lo snprintf.lo  strdup.lo strupr.lo getprogname.lo
../../lib/editline/libeditline.la -ltermcap -lresolv -lnsl -lsocket
gcc  -shared -Wl,-h -Wl,libsl.so.0 -o .libs/libsl.so.0.1.2  .libs/sl.o .libs/strtok_r.o .libs/snprintf.o .libs/strdup.o
.libs/strupr.o .libs/getprogname.o -z allextract ../../lib/editline/.libs/libeditline.a -z defaultextract
-ltermcap -lresolv -lnsl -lsocket -lc
Text relocation remains                         referenced
    against symbol                  offset      in file
<unknown>                           0xc40       ../../lib/editline/.libs/libeditline.a(snprintf.o)
<unknown>                           0xc44       ../../lib/editline/.libs/libeditline.a(snprintf.o)
<unknown>                           0xc48       ../../lib/editline/.libs/libeditline.a(snprintf.o)
<unknown>                           0xc4c       ../../lib/editline/.libs/libeditline.a(snprintf.o)
<unknown>                           0xc50       ../../lib/editline/.libs/libeditline.a(snprintf.o)
<unknown>                           0xc54       ../../lib/editline/.libs/libeditline.a(snprintf.o)
<unknown>                           0xc58       ../../lib/editline/.libs/libeditline.a(snprintf.o)
<unknown>                           0xc5c       ../../lib/editline/.libs/libeditline.a(snprintf.o)
<unknown>                           0xc60       ../../lib/editline/.libs/libeditline.a(snprintf.o)
<unknown>                           0xc64       ../../lib/editline/.libs/libeditline.a(snprintf.o)
<unknown>                           0xc68       ../../lib/editline/.libs/libeditline.a(snprintf.o)
<unknown>                           0xc6c       ../../lib/editline/.libs/libeditline.a(snprintf.o)
<unknown>                           0xc70       ../../lib/editline/.libs/libeditline.a(snprintf.o)
<unknown>                           0xc74       ../../lib/editline/.libs/libeditline.a(snprintf.o)
<unknown>                           0xc78       ../../lib/editline/.libs/libeditline.a(snprintf.o)
<unknown>                           0xc7c       ../../lib/editline/.libs/libeditline.a(snprintf.o)
<unknown>                           0xc80       ../../lib/editline/.libs/libeditline.a(snprintf.o)
<unknown>                           0xc84       ../../lib/editline/.libs/libeditline.a(snprintf.o)
<unknown>                           0xc88       ../../lib/editline/.libs/libeditline.a(snprintf.o)
...
...
...
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `libsl.la'
Current working directory /usr/local/src/heimdal-0.6.3/lib/sl
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/src/heimdal-0.6.3/lib
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
 
 
Thanks,
Alejandro Moreno