Xref: news2.mv.net comp.os.msdos.djgpp:1978 Newsgroups: comp.os.msdos.djgpp From: valgasu AT jade DOT mv DOT net (Valgasu) Subject: Bug? Please help! Message-ID: Organization: MV Communications, Inc. Date: Tue, 19 Mar 1996 21:59:29 GMT Lines: 29 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp I don't know what's wrong here... :( Please help me... My program, I noticed, was behaving rather strangely sometimes... (weird values coming up in variables that weren't touched often)... anyway, I decided to remove the -g switch, which I had been using with SYMIFY to catch crash address line numbers... here is a pretty accurate picture of my screen: C:\GAME>gcc game10.c dlib.a -o game10 -g C:\GAME>gcc game10.c dlib.a -o game10 : undefined use of '_use_lfn' .. .. .. I get about 5 of these "undefined use" things, and I have no clue why... the command lines I use are exactly the same except for removing "-g", but it spits out link errors without the -g, and (seemingly) compiles fine with the -g... I thought it might have something to do with the "dlib.a" file, which is a small lib of SVGA routines I made. When I remove dlib.a from the command line, it doesn't give me the "_use_lfn" errors, just all the undefined references to the functions within the lib. I don't think this is the case, because it works fine in all other test progs i made and, before there's any kind of mess up, it works fine in the "-g" version of game10... Anybody have any ideas? Please help... :(