Message-ID: <362B6347.63379BD6@clover.c2d.fedex.com> Date: Mon, 19 Oct 1998 11:05:27 -0500 From: Walter Moore Organization: Federal Express X-Sender: "Walter Moore" (Unverified) X-Mailer: Mozilla 4.04 [en]C-FedExIntl (Win95; I) MIME-Version: 1.0 To: "djgpp AT delorie DOT com" Subject: RSXDJNT compile error Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com I am getting an error when trying to link. This is the command: > gcc -O -Zwin32 -Ic:/djgpp/contrib/rsxntdj/include/ -Ic:/djgpp/contrib/rsxntdj/include/win32 -Ic:/djgpp/contrib/rsxntdj/include/mssdk -g -DDEBUG -DCLIENT -o lpcli lpcli.o strcli.o autogen.o env.o error.o initvars.o net.o options.o output.o readline.o writen.o -Ic:/djgpp/src/loadplan/LPserver.works -lwsock32 -lsocket and this is the error: > c:/djgpp/lib/libc.a(getopt.o)(.text+0x44):getopt.c: multiple definition of `getopt' > c:/djgpp/contrib/rsxntdj/lib/all/libalias.a(getopt.o)(.text+0x0):fake: first def ined here > c:/djgpp/bin/ld.exe: cannot open -lc_app: No such file or directory (ENOENT) why is it looking in libalias.a? shouldn't it find this in libc.a? help?.. please?... -- Walter Moore Sr. Programmer Analyst Federal Express wbmoore AT fedex DOT com 2813 Business Park Memphis TN 38118 USA work: 901-369-2640 fax: 901-369-3634