From: George Foot Newsgroups: comp.os.msdos.djgpp Subject: Re: Headers Etc... Date: 25 Nov 1997 05:31:19 GMT Organization: Oxford University, England Lines: 18 Message-ID: <65dnr7$1pk$4@news.ox.ac.uk> References: <65dl3r$6f6 AT bgtnsc02 DOT worldnet DOT att DOT net> NNTP-Posting-Host: sable.ox.ac.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On Mon, 24 Nov 1997 23:38:48 -0500 in comp.os.msdos.djgpp Walter Luke wrote: : The following code: [snipped] : Returns the error "undefined reference to 'g_set'". The same is true : of any other call to a function in graph.h. Can someone point me in the : right direction here? I'm not sure what graphics library you're using, but you'll need to link in the library file when creating your executable. Add the `-l' switch to the linking command line, followed immediately (no space) by the name of the library file (in your `lib' directory). This name will be of the form `libxxxxx.a', where `xxxxx' is the name you'd put after `-l'. -- Regards, george DOT foot AT merton DOT oxford DOT ac DOT uk