RE: [Tuxnes-devel] Trying to build on OpenBSD 2.9
Brought to you by:
tmmm
|
From: HUYNH,SONTRI (HP-Richardson,ex1) <son...@hp...> - 2001-08-22 15:25:42
|
> 1672 lines is correct. Let's see. x86.S uses a symbol named > _LASTBANK which is defined in the included file "mapper.h" as > LASTBANK. LASTBANK is declared in dynrec.c. I guess the > assembler on Linux > is a little more forgiving than on OpenBSD when it comes to defining > globals. Look in mapper.h and after the following line: > > #define _LASTBANK LASTBANK /* Last memory page code > executed in */ > > Add the line: > > extern unsigned int LASTBANK; Nope, this won't work with the assembler.. I get: gcc -DHAVE_CONFIG_H -I. -I. -I. -O -pipe -Wall -I/usr/X11R6/include -c x86.S mapper.h: Assembler messages: mapper.h:35: Error: no such 386 instruction: `extern' Sorry, I am not all that familiar with gas/x86, is there another syntax for declaring LASTBANK as defined elsewhere? Btw, this is all with tuxnes-0.75. I'm not sure how different it is from the cvs version. I am unable to get very far in building that either, especially since I don't seem to have aclocal (is this supposed to be part of autoconf?). Thanks for your help. Tomo |