[ns] Undefined reference to hdr_pgm

Francois Cartegnie Francois.Cartegnie@univ-valenciennes.fr
Fri Apr 26 07:00:02 2002


I'm trying to compile the latest snapshot on solaris 7,
after fixing a lot of files that I'll send as a patch, I'm stuck
with one problem :

queue/errmodel.o: In function `hdr_pgm::access(Packet const*)':
queue/errmodel.o(.gnu.linkonce.t._ZN7hdr_pgm6accessEPK6Packet+0x8): undefined 
reference to `hdr_pgm::offset_'
queue/errmodel.o(.gnu.linkonce.t._ZN7hdr_pgm6accessEPK6Packet+0xc): undefined 
reference to `hdr_pgm::offset_'
collect2: ld returned 1 exit status
make: *** [ns] Erreur 1   

I cannot solve this.
I tried adding #include <pgm.h> and #include <../pgm/pgm.h> into errmodel.c 
but it did not success.
I have no clue on how to make it include the hdr_pgm definitions from the 
pgm/pgm.h file.