From: al Newsgroups: comp.os.msdos.djgpp Subject: seeking help on make Date: Fri, 19 Jan 2001 10:43:11 +0800 Organization: Pacific Supernet Limited Lines: 36 Message-ID: <54af6t4f2a0lav6km7sj8vp5sf3sckb2uq@4ax.com> NNTP-Posting-Host: 202.64.186.161 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Newsreader: Forte Agent 1.8/32.548 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I have problem in "make"-ing the allegro package. I think I have properly installed djgpp into correct directories and sub-directories, and configured the environment and paths. I have studied the faq and readme of djgpp and allegro. When I start "make", the first several commands are fine. Finally I come up with the following error messages: gcc -s -o demo/demo.exe obj/djgpp/demo.o lib/djgpp/liballeg.a lib/djgpp/liballeg.a(sndscape.o)(.text+0xd22):sndscape.c: undefined reference to `_enable_irq' lib/djgpp/liballeg.a(sndscape.o)(.text+0x18fb):sndscape.c: undefined reference t o `_restore_irq' lib/djgpp/liballeg.a(essaudio.o)(.text+0xb49):essaudio.c: undefined reference to `_enable_irq' lib/djgpp/liballeg.a(essaudio.o)(.text+0x1013):essaudio.c: undefined reference t o `_restore_irq' lib/djgpp/liballeg.a(sb.o)(.text+0x1633):sb.c: undefined reference to `_enable_i rq' lib/djgpp/liballeg.a(sb.o)(.text+0x1994):sb.c: undefined reference to `_restore_ irq' lib/djgpp/liballeg.a(sb.o)(.text+0x1d77):sb.c: undefined reference to `_restore_ irq' lib/djgpp/liballeg.a(sb.o)(.text+0x20d7):sb.c: undefined reference to `_enable_i rq' lib/djgpp/liballeg.a(mpu.o)(.text+0x3cd):mpu.c: undefined reference to `_enable_ irq' lib/djgpp/liballeg.a(mpu.o)(.text+0x48b):mpu.c: undefined reference to `_restore _irq' collect2: ld returned 1 exit status make.exe: *** [demo/demo.exe] Error 1 Could anyone suggest how to overcome the problem? al