Date: Sun, 28 May 1995 08:57:41 +0300 From: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii) To: A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk Subject: Re: accessing conventional memory addresses Cc: DJGPP AT SUN DOT SOE DOT CLARKSON DOT EDU > 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 don't have those ``extern "C" {'' wrappers around them. I would guess that this is the cause of this problem.