Date: Fri, 10 Dec 93 17:13:20 -0500 From: DJ Delorie To: peprbv AT cfa0 DOT harvard DOT edu Cc: michaels AT vsl DOT com DOT au, djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: 1.11 undefined reference for 'int86' > > gcc -o app $(OBJS) -lvogle -lgrx -ltcl -lm -lpc > > and I get an error thus: > > intdos.c (.text+c): undefined reference to 'int86' > > Using nm I found int86 in libc.a so what's going wrong? > Don't you need a -lc as well? gcc automatically adds -lc. "int86" is in libc.a in libsrc/c/dos/int86x.s