From: "Djani Buric" Newsgroups: comp.os.msdos.djgpp Subject: Compiling dvipdfm with DJGPP Date: Fri, 12 May 2000 23:30:47 +0200 Organization: HiNet Lines: 48 Message-ID: <8fht74$rvc$1@as102.tel.hr> NNTP-Posting-Host: ar2-p89-ri.tel.hr Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: as102.tel.hr 958167076 28652 195.29.236.217 (12 May 2000 21:31:16 GMT) X-Complaints-To: abuse AT tel DOT hr NNTP-Posting-Date: 12 May 2000 21:31:16 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com According to what Eli Zaretskii suggested, I'm reposting my question. This time I'll try to be more specific. I have problems compiling dvipdfm with DJGPP. I have done the following things: 1. Installed kpathsea, zlib (both from DJGPP archive) and libpng (downloaded in source form and compiled it). 2. Set environment variables: set CC=gcc set CPPFLAGS=-Ic:/djgpp/include/kpathsea set LDFLAGS=-Lc:/djgpp/lib (If CC is not set, configure refuses to work. I don't know whether CPPFLAGS and LDFLAGS should be set or not. It doesn't seem to make a difference.) 3. Replaced every occurrence of /bin/sh in configure with /djgpp/bin/sh (otherwise sh could not be found) and started it from within bash with './configure --prefix=c:/djgpp'. Configure seems to work correctly. It creates a Makefile, but when I run make I get the following message: gcc -g -O2 -I . -c -o pdfdev.o pdfdev.c In file included from c:/djgpp/include/kpathsea/config.h:65, from c:/djgpp/include/kpathsea/kpathsea.h:1, from system.h:6, from pdfdev.c:29: c:/djgpp/include/kpathsea/lib.h:117: conflicting types for `basename' c:/djgpp/include/unistd.h:128: previous declaration of `basename' make.exe: *** [pdfdev.o] Error 1 I have no idea what to do next. Could someone help, please. Thanks. --- Djani Buric