This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re[2]: pb compile under borland c++
- To: Brian Gough <bjg at network-theory dot co dot uk>
- Subject: Re[2]: pb compile under borland c++
- From: Emmanuel Chomarat <Emmanuel dot Chomarat at bigfoot dot com>
- Date: Mon, 13 Aug 2001 01:15:04 +0200
- CC: gsl-discuss at sources dot redhat dot com
- References: <17096239334.20010809231215@bigfoot.com><15219.1642.877179.846853@debian>
- Reply-To: Emmanuel Chomarat <Emmanuel dot Chomarat at bigfoot dot com>
Hello Brian,
Thursday, August 09, 2001, 11:53:46 PM, you wrote:
BG> Emmanuel Chomarat writes:
BG> >
BG> > in interpolation subdir
BG> > akima.c
BG> > Error E2024 akima.c 244: Cannot modify a const object in function
BG> > Error E2024 akima.c 280: Cannot modify a const object in function
BG> > Error E2024 vegas.c 606: Cannot modify a const object in function random_point
BG> > Error E2024 gear1.c 92: Cannot modify a const object in function gear1_apply
BG> >
BG> > Not really hard to fix but hard to understand. why it's prevent warning,
BG> > it cause errors :)
BG> Thanks for the bug reports. I have made the line into a macro
BG> DISCARD_POINTER(p) which can be redefined in config.h.
BG> > I succeed to compile all module and to build libgsl.lib. but now when
BG> > i try to link i have this error:
BG> > Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
BG> > Error: Unresolved external '_gsl_sf_lngamma' referenced from C:\LIBGSL.LIB|gamma
BG> > Error: Unresolved external '_gsl_sf_choose' referenced from C:\LIBGSL.LIB|binomial
BG> > Error: Unresolved external '_gsl_sf_lnfact' referenced from C:\LIBGSL.LIB|poisson
BG> The functions the randist directory (libgslrandist.a) need to use some
BG> functions from the specfunc directory, and cannot find them. Perhaps
BG> it is due to the order of linking the files?
I didnt'know that the linking part of the process need an order when i
add the obj files to the lib. I'll try this(i think that it's write in
the makefile) .
--
Best regards,
Emmanuel mailto:Emmanuel.Chomarat@bigfoot.com