delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2006/03/25/14:31:51

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "Harry J. Smith" <hjsmithh AT sbcglobal DOT net>
Newsgroups: comp.os.msdos.djgpp
References: <09_Uf.59237$Jd DOT 38103 AT newssvr25 DOT news DOT prodigy DOT net> <48kp1eFk4nrjU2 AT news DOT dfncis DOT de>
Subject: Re: trying to use apfloat with djgpp and rhide
Lines: 54
Organization: Self-employed
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
Message-ID: <kRgVf.4996$4L1.2173@newssvr11.news.prodigy.com>
NNTP-Posting-Host: 69.224.17.181
X-Complaints-To: abuse AT prodigy DOT net
X-Trace: newssvr11.news.prodigy.com 1143314896 ST000 69.224.17.181 (Sat, 25 Mar 2006 14:28:16 EST)
NNTP-Posting-Date: Sat, 25 Mar 2006 14:28:16 EST
X-UserInfo1: TSU[@SFD_ZRIRRX[FBID]_\@VR]^@B AT MCPWZKB]MPXHDUWYAKVUOPCW[ML\JXUCKVFDYZKBMSFX^OMSAFNTINTDDMVW[X\THOPXZRVOCJTUTPC\_JSBVX\KAOTBAJBVMZTYAKMNLDI_MFDSSOLXINH__FS^\WQGHGI^C AT E[A_CF\AQLDQ\BTMPLDFNVUQ_VM
Date: Sat, 25 Mar 2006 19:28:16 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Hans-Bernhard Broeker" <broeker AT physik DOT rwth-aachen DOT de> wrote in message news:48kp1eFk4nrjU2 AT news DOT dfncis DOT de...
> Harry J. Smith <hjsmithh AT sbcglobal DOT net> wrote:
> 
>> I am trying to use apfloat with djgpp and rhide, When I try to make
>> the test program aptest I get:
> 
> Without you telling anybody *how* you tried to "use apfloat", it's
> quite impossible to guess what went wrong.  Which compiler was used,
> how, to compile the library and the test program?  Did you actually
> inform RHIDE about all libraries that have to be linked in?
> 
>> aptest.cpp(318) Error: undefined reference to `apfloat::~apfloat()'
> 
> This does look like a missing library specification in the RHIDE project.
> 
> -- 
> Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
> Even if all the snow were burnt, ashes would remain.

Thanks for trying to help me.

I an using windows XP
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 9, GenuineIntel
Installed djgpp with rhide in C:\ProgramD\DJGPP
Installed apfloat in C:\ProgramD\DJGPP\Harry\apfloat

I can make the test program aptest at the command line:

C:\ProgramD\DJGPP\Harry\apfloat>make aptest.exe
gxx -march=pentium -malign-double -O2 -ffast-math -g -w -o aptest @aptest.lnk -lm
stubify aptest
del aptest

and it runs ok, but I cannot make it using rhide. I get:

Compiling: aptest.cpp
no errors
Creating: aptest.exe
Error: aptest.o: In function `_Z8rnd2basem':
aptest.cpp(54) Error: undefined reference to `_Basedigits'
aptest.cpp(60) Error: undefined reference to `_Basedigits'
Error: aptest.o: In function `_Z8rnd3basem':
aptest.cpp(69) Error: undefined reference to `_Basedigits'
aptest.cpp(77) Error: undefined reference to `_Basedigits'
Error: aptest.o: In function `__static_initialization_and_destruction_0':
aptest.cpp(289) Error: undefined reference to `apfloat::~apfloat()'
aptest.cpp(289) Error: undefined reference to `apfloat::~apfloat()'
. . .

-Harry



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019