Mail Archives: djgpp/1995/01/27/18:18:10

Date: Fri, 27 Jan 1995 11:18:46 -0500
To: djgpp AT sun DOT soe DOT clarkson DOT edu
From: pyc AT postoffice DOT cheme DOT cornell DOT edu (Po-Yi CHEN)
Subject: gcc 2.6.3 link error..(? libgpp.a bug?)

Hi !

I installed gcc 2.6.3 and libgpp 2.5.2 on pc-486. It passed throught test
programs with the package. However, I found linker error at the following

file :

#include <iostream.h>
#include <ACG.h>
#include <negexp.h>
#include <Random.h>

  ACG gen(10,20) ;
  NegativeExpntl rnd(1.0,&gen) ;
  double next = rnd() ;
  for (int i=0; i<20; i++)  {
       cout << next << endl ;
       next = rnd() ;

C:\DJGPP>gcc -lgpp -liostr -lm undefined reference to `__pure_virtual' undefined reference to `__pure_virtual' undefined reference to `__pure_virtual'

Can anyone help me out ?
Thanks , pyc

- Raw text -

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