Mail Archives: djgpp/1995/05/28/03:30:18
> the `extern inline' sequences in djgpp\include\sys\farptr.h made gcc swear
> thus: "t$.cc(.text+0x1c): undefined reference to `_farpokew(unsigned short,
> unsigned long, unsigned short)'", and to get my program to work I had to copy
> djgpp\include\sys\farptr.h into my program, and in that copy delete the
> `extern' words (and delete the `-ns-' functions, which I wasn't using). Then
> my program worked OK.
It appears that the functions on <sys/farptr.h> don't have those ``extern "C" {''
wrappers around them. I would guess that this is the cause of this problem.
- Raw text -