Date: Wed, 22 Nov 1995 10:00:39 +0800 (SST) From: Teng Yong Jeffrey <93602081 AT neptune DOT np DOT ac DOT sg> To: Chris Duhl Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: page flipping program You could perhaps try gcc -g -o page -lgrx20 page.c ( - ie. change the parameter sequence a bit) The sequence in which you pass parameters to gcc is important. (Read the FAQ on "compiling and linking problems" for more info on this ------- On Tue, 21 Nov 1995, Chris Duhl wrote: > Disclaimer: > I am a newbie with DJPP, please be kind. > > Problem: > I have a source file that I am trying to compile with GCC. The source > file is PAGE.C. The program is supposed to allow "page flipping with > pictures". I am still having a hard time getting this compiled. The > page.c program uses the GRX20 libraries. > To compile the source code, I use the following command line: > > gcc -g -o page page.c -lgrx20 > > Near the end of compiling I get a screen full of errors. for example: > > setmode.c(.text+0x4c7): undefined reference to `__dj_stderr' > > I am clueless as to what these error codes are or mean. If anyone has > used this PAGE.C source please let me know how you compiled it. I > could use ANY help anyone has to offer. > > I have also tried adding the -lpc and the -lm in the command line (at > the end) of compiling. > > Cnduhl AT umdesun2 DOT umd DOT umich DOT edu > > >