Subject: Re: Postgresql-server compile failes on mac68k
To: Rémi <remi_zara@mac.com>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: tech-pkg
Date: 09/23/2003 09:05:11
At 21:48 Uhr +0200 22.9.2003, Rémi Zara wrote:
>The following patch makes the file compile again. registers were
>missing the '%' prefix.

I.e., this is a piece of inline assembly that missed the transition of
netbsd-m68k to ELF? Adding the '%' prefix to registers should be the proper
fix then.

>But when it laters links the file, the following error occurs:
>
>access/SUBSYS.o: In function `XLogWrite':
>access/SUBSYS.o(.text+0x19dbc): undefined reference to `tas'

ISTR there is a macro that properly exports global symbols from inline
assembler code. Perhaps if you look around in the netbsd (kernel) sources,
or the mailing list archives?

HTH,
	hauke


--
/~\  The ASCII Ribbon Campaign
\ /    No HTML/RTF in email
 X     No Word docs in email
/ \  Respect for open standards