delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/14/03:55:46

Date: Sun, 14 Jan 96 01:32:18 MST
To: djgpp AT sun DOT soe DOT clarkson DOT edu
From: enoch AT terranet DOT terranet DOT ab DOT ca (Peter Plum)
Subject: Peter: Help with sample file 'main.c'

This program was in the Samples directory but doesn't seem to work.  I get
the following message.


GNU C++ Compile: MAIN.c
MAIN.c(.text+0x4b): undefined reference to `yyparse'


I also find no reference to 'yyparse' in any of the help files or any c/c++
book.


#include "hc.h"

main(int argc, char **argv)
{
  int i;
  for (i=0; i<MAX_ID; i++)
  {
    id_name[i] = 0;
    id_val[i] = 0;
  }
  yyparse();
}

Thank you for any help you can give me.
"In Him was life, and His life is the light of men
He came unto His own but His own received Him not
but He gave power to as many as would receive Him
to become the sons of God!"
Peter Plum
RR1 Site10 Box 10
Grande Prairie. AB 
T8V 2Z8
403 538 4713

- Raw text -


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