www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/19/12:09:28

Message-ID: <362B6347.63379BD6@clover.c2d.fedex.com>
Date: Mon, 19 Oct 1998 11:05:27 -0500
From: Walter Moore <walter AT clover DOT c2d DOT fedex DOT com>
Organization: Federal Express
X-Sender: "Walter Moore" <walter AT clover DOT c2d DOT fedex DOT com> (Unverified)
X-Mailer: Mozilla 4.04 [en]C-FedExIntl (Win95; I)
MIME-Version: 1.0
To: "djgpp AT delorie DOT com" <djgpp AT delorie DOT com>
Subject: RSXDJNT compile error
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019