This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re[2]: pb compile under borland c++


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]