delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2013/02/17/08:15:16

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Received: by 10.66.155.41 with SMTP id vt9mr1978385pab.11.1361106343717;
Sun, 17 Feb 2013 05:05:43 -0800 (PST)
X-Received: by 10.50.196.227 with SMTP id ip3mr825435igc.10.1361106343447;
Sun, 17 Feb 2013 05:05:43 -0800 (PST)
Newsgroups: comp.os.msdos.djgpp
Date: Sun, 17 Feb 2013 05:05:43 -0800 (PST)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=120.60.30.248;
posting-account=-J4QYgoAAADixJ1fgJcNtE6XYdP2WoO_
NNTP-Posting-Host: 120.60.30.248
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <43bcdb29-6ac3-4cdf-a0ca-e73adb60bf91@googlegroups.com>
Subject: compilation of sqlite3 on dos using djgpp
From: mahesh DOT s DOT chavan AT gmail DOT com
Injection-Date: Sun, 17 Feb 2013 13:05:43 +0000
Bytes: 1588
Lines: 9
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r1HDF2Zn025995
Reply-To: djgpp AT delorie DOT com

Dear Sir,
I want to compile Sqlite latest version on DOS. When I tried, I was able to make libsqlite3.a To make it work I have used fchown-stub.c But when I tried to link it to shell.o to make exe, it gave me error mmap undefined and munmap undefined. Both of them are defined in sys/stat.h
I think mmap and munmap are specific to linux and there is no equ. in dos.
While porting unix to dos many programmers should be facing the same problem.
Please let me know, how to solve this problem.
Thanking you.

- Raw text -


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