From: gfoot AT mc31 DOT merton DOT ox DOT ac DOT uk (George Foot) Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP HELP!!! Date: 17 Feb 1997 22:59:55 GMT Organization: Oxford University Lines: 18 Message-ID: <5eantb$d1r@news.ox.ac.uk> References: <01bc1de5$9f413ba0$0100007f AT default> NNTP-Posting-Host: mc31.merton.ox.ac.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Eclipse (maciek AT compmore DOT net) wrote: : When I downloaded the Allegro source code and tried compiling it, I got the : messages. : In the C:\ALLEGRO directory I typed this, gcc -o ex1.exe ex1.c RTFM :) Having run 'make' in C:\ALLEGRO, you should copy allegro.h into C:\DJGPP\INCLUDE and liballeg.a into C:\DJGPP\LIB. Then, add to the *end* of your gcc command line: -lalleg, i.e. gcc -o ex1.exe ex1.c -lalleg This links in the library code and should eliminate those errors. -- George Foot Merton College, Oxford.