www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/17/05:33:37

From: "Sherlock" <naughtyboy AT usa DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Still having trouble with fix.h
Lines: 29
X-Newsreader: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Message-ID: <qsuY3.243$Yb.35621@nnrp.gol.com>
Date: Wed, 17 Nov 1999 09:21:26 GMT
NNTP-Posting-Host: 203.216.8.1
X-Complaints-To: abuse AT gol DOT com
X-Trace: nnrp.gol.com 942830486 203.216.8.1 (Wed, 17 Nov 1999 18:21:26 JST)
NNTP-Posting-Date: Wed, 17 Nov 1999 18:21:26 JST
Organization: Global Online Japan
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I am still having problems with linking. I have tried -lgpp when linking,
but i still get the same error messages.
I am using Rhide if that makes a difference.

Any suggestions?

Original Posting:
I am trying to use the fixed point class 'fix.h' in DJGPP, but am having
trouble linking.
This program works fine compiles and links fine:
#include <fix.h>
int main()
{
}

but this program (below) has linker errors such as:
- undefined reference to 'Fix::Fix(void)'
- undefined reference to 'Fix::~Fix(void)

#include <fix.h>
int main()
{
    Fix a;
}

What can i do to fix this?



- Raw text -


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