From: "Matthew Smith" Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro - link problem with irqwrap.S Date: Fri, 3 Nov 2000 21:53:40 -0000 Organization: Customer of Energis Squared Lines: 22 Message-ID: <8tvc5e$885$1@newsg2.svr.pol.co.uk> References: <3A026D4A DOT 181E7A9B AT thomson-csf DOT no> NNTP-Posting-Host: modem-76.oxygen.dialup.pol.co.uk X-Trace: newsg2.svr.pol.co.uk 973288430 8453 62.136.7.76 (3 Nov 2000 21:53:50 GMT) NNTP-Posting-Date: 3 Nov 2000 21:53:50 GMT X-Complaints-To: abuse AT theplanet DOT net X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I just searched the Allegro folder for irq_wrapper_0 and got this Searching for 'irq_wrapper_0'... c:\ALLEGWIP\ALLEGRO\src\dos\djirq.c(39):extern void _irq_wrapper_0(), _irq_wrapper_1(), c:\ALLEGWIP\ALLEGRO\src\dos\djirq.c(43): _irq_wrapper_0_end(); c:\ALLEGWIP\ALLEGRO\src\dos\djirq.c(56): LOCK_FUNCTION(_irq_wrapper_0); c:\ALLEGWIP\ALLEGRO\src\dos\djirq.c(109): case 0: addr.offset32 = (long)_irq_wrapper_0; break; c:\ALLEGWIP\ALLEGRO\src\dos\wat.c(468):END_OF_STATIC_FUNCTION(irq_wrapper_0) ; c:\ALLEGWIP\ALLEGRO\src\dos\wat.c(479): LOCK_FUNCTION(irq_wrapper_0); c:\ALLEGWIP\ALLEGRO\src\dos\wat.c(488): case 0: _dos_setvect(num, irq_wrapper_0); break; 7 occurrence(s) have been found. which suggests to me the function is defined differently for each compiler. Are you sure you are including the one you want?