[GiNaC-list] Fwd: cygwin and GiNaC

Richard B. Kreckel kreckel at ginac.de
Fri May 4 23:37:01 CEST 2007


lolson at ualberta.ca wrote:
> I am trying to get GiNaC working with cygwin.  I installed the cln and  
> ginac libraries with no problems at all.  I can run ginsh no problem.   
> However, when I go to compile a sample program in the tutorial. I get  a 
> TON of errors, most saying undefined reference.  I'll copy part of  the 
> error log so you can see:
> /usr/local/lib/libginac.a(inifcns.o): In function
> `_ZN5GiNaC6fsolveERKNS_2exERKNS_6symbolERKNS_7numericES8_':
> /usr/local/include/cln/object.h:216: undefined reference to
> `cln::cl_free_heap_object(cln::cl_heap*)'
> /usr/local/include/cln/object.h:216: undefined reference to
> `cln::cl_free_heap_object(cln::cl_heap*)'
> and thats just the start of it.
> Does anyone know what is causing this.  Please help!

I don't know anything about cygwin but my guess is that you forgot to 
link against libcln.

Richard B. Kreckel

More information about the GiNaC-list mailing list