Hi Alex, and thanks for your answer...

I'm not very knowledgable about the make process.
I just run "make picolisp" in src64 and get the errors about the missing
dlXXXX (and two files x86-64.linux.base.o & .s).

-ldl is present in the Makefile, and also in the "complaining" invocation of
gcc :
gcc -m64 -rdynamic -lc -lm -ldl -o ../bin/picolisp x86-64.linux.base.o

If that can help, here is what i get with "gcc -v" :

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6.1/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro
4.6.1-9ubuntu2' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr
--program-suffix=-4.6 --enable-shared --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin
--enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=x86_64-linux-gnu
Thread model: posix

thanks for your time...

Renaud




On Tue, Sep 6, 2011 at 4:01 PM, Alexander Burger <a...@software-lab.de>wrote:

> Hi Renaud,
>
> > I like newLisp, and would like to give picolisp a try, but i can't build
> it
> > on Xubuntu 11.10, and i'm not alone :
> > http://www.mail-archive.com/ubuntu-bugs@lists.ubuntu.com/msg3100361.html
>
> I don't know the details about the build process on Ubuntu. I have
> tested the Debian versions (wheezy and sid), and they work all right. I
> would have expected Ubuntu to be compatible.
>
> Looking at the errors:
>
>   x86-64.linux.base.o: In function `.170':
>   (.text+0x1692): undefined reference to `dlopen'
>   x86-64.linux.base.o: In function `.172':
>   (.text+0x16b1): undefined reference to `dlopen'
>   x86-64.linux.base.o: In function `.178':
>   (.text+0x1736): undefined reference to `dlsym'
>   x86-64.linux.base.o: In function `dlErrX':
>   (.text+0x1c120): undefined reference to `dlerror'
>
> we see that the dynamic library functions are missing. The man page of
> dlopen(3) in Debian says to link with "-ldl". Is this also the case in
> Ubuntu?
>
> The "src64/Makefile" specifies "-ldl" for Linux builds. It would be
> interesting not only to see the above error messages, but also the
> actual invocation of the linker. Is "-ldl" there?
>
> Cheers,
> - Alex
> --
> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
>



-- 
Renaud GOMBERT  --  09 70 44 89 44
a-noter.net : une page pour vous dire

Reply via email to