From: "Nirvana" Newsgroups: comp.os.msdos.djgpp Subject: [NEWBYE][ALLEGRO][RHIDE] i try to run this..... Lines: 25 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 Message-ID: Date: Tue, 25 Sep 2001 16:13:45 GMT NNTP-Posting-Host: 151.21.109.106 X-Complaints-To: abuse AT libero DOT it X-Trace: news.infostrada.it 1001434425 151.21.109.106 (Tue, 25 Sep 2001 18:13:45 MET DST) NNTP-Posting-Date: Tue, 25 Sep 2001 18:13:45 MET DST Organization: [Infostrada] To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Note that the following code is an example coming with the libamp library #include #include int main(void) { allegro_init(); install_sound(DIGI_AUTODETECT,MIDI_NONE,NULL); install_amp(); load_amp("1.mp3",FALSE); while (run_amp()>=0); unload_amp(); return(0); } and i get "undefined reference...." for every call to any allegro functions, what i have to set, where and how i can set it? Note that i'm a newbye with djgpp, rhide, allegro and both c and c++ but i have a sufficient programming culture on some other languages such pascal, delphi and visualbasic. Note that libamp should function as well, i think that the problem is the link with allegro library