gnucap-devel
[Top][All Lists]
Advanced

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

Re: [Gnucap-devel] [Help-gnucap] gnucap development snapshot 2013-04-23


From: al davis
Subject: Re: [Gnucap-devel] [Help-gnucap] gnucap development snapshot 2013-04-23
Date: Mon, 29 Apr 2013 21:30:12 -0400
User-agent: KMail/1.13.5 (Linux/2.6.32-5-amd64; KDE/4.4.5; x86_64; ; )

On Thursday 25 April 2013, Felix Salfelder wrote:
> On Thu, Apr 25, 2013 at 08:03:20PM -0400, al davis wrote:
> > > didn't work for me.
> >
> > 
> >
> > What didn't work?
> 
>g++ -DUNIX -O2 -DNDEBUG -I. -I../include -I../../include -W mg_main.o 
>mg_error.o mg_in.o mg_out_h.o mg_out_dump.o mg_out_common.o mg_out_dev.o 
>mg_out_lib.o mg_out_model.o 
mg_out_root.o -o gnucap-modelgen -lgnucap  -rdynamic -L../../lib/O
>../../lib/O/libgnucap.so: undefined reference to `dlerror'
>../../lib/O/libgnucap.so: undefined reference to `dlopen'
>../../lib/O/libgnucap.so: undefined reference to `dlclose'
>collect2: error: ld returned 1 exit status
>make[2]: *** [gnucap-modelgen] Error 1
>make[2]: Leaving directory `/tmp/gnucap-2013-04-23/modelgen/O'
>make[1]: *** [default] Error 2
>make[1]: Leaving directory `/tmp/gnucap-2013-04-23/modelgen'
>make: *** [gnucap] Error 2

Try this ..

Bug in lib/configure.
Change this line.

diff -r26.138 configure
28c28
< echo "LIBS =  \\" >Make.libs
---
> echo "LIBS = -ldl \\" >Make.libs

Left out the library.

It got removed in a "Muntzing".

Although the error appeared when compiling "modelgen",
the actual error is in "lib".

The problem doesn't show on my system, apparently 
because of how the system libraries are organized.
Test it and let me know how it works.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]