From: paul DOT crone AT thomson-csf DOT no Message-Id: <200011060808.JAA23416@alcatel.no> To: djgpp AT delorie DOT com Subject: Re[2]: Allegro - link problem with irqwrap.S MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain Date: Mon, 6 Nov 2000 09:08:06 +0100 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? > > > Thanks for the reply. I'm using the DJGPP version of the files with djgpp version of gcc. I think that this is what I want? The problem seems to be that gcc(linker) doesn't appear to see the _irq_wrapper... labels as global from irqwrap.S. Paul