delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/01/02/09:34:11

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: HARY <Hary AT address DOT is DOT invalid>
Newsgroups: comp.os.msdos.djgpp
Subject: Unresolved externals.
Date: Wed, 2 Jan 2002 14:29:27 +0000 (UTC)
Organization: Wielki samotnik w swoim zamku.
Lines: 18
Message-ID: <slrn.pl.a363va.j1.Hary@localhost.localdomain>
NNTP-Posting-Host: pg33.wroclaw.cvx.ppp.tpnet.pl
X-Trace: news.tpi.pl 1009981767 11826 217.99.225.33 (2 Jan 2002 14:29:27 GMT)
X-Complaints-To: usenet AT tpi DOT pl
NNTP-Posting-Date: Wed, 2 Jan 2002 14:29:27 +0000 (UTC)
User-Agent: slrn/0.9.7.0 (pl-1.1.1) (Linux)
X-Pi: 3141592653589793
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,

While linking someone's else program I've got some "undefined
reference" messages for functions lstat, setegid, seteuid (among
others).

As setegid and seteuid basically do nothing in DOS, there's no problem
with them. Similarly, lstat can be replaced with stat, I think.

Now I can link this program with: 'Dlstat=stat -Dsetegid=setgid
--Dseteuid=setuid' options.

But I've never before tried to port UNIX program to DOS. Is it
preferred method or should I do it in another way?

Thanks in advance,

  HARY

- Raw text -


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