Article View: news.software.readers
Article #9598Re: XRN 6.18 wont build
From: Sang-yong Suh
Date: Sat, 18 Jun 1994 07:06
Date: Sat, 18 Jun 1994 07:06
43 lines
2224 bytes
2224 bytes
In article <2tskt0$6i5@chip.iphase.com>, plarkin@iphase.com (Patrick Larkin Jr) writes:
>
> godzilla# make xrn
> gcc -O -DMOTIF -DINN -target sun4 -c avl.c
> In file included from avl.c:45:
> utils.h:154: conflicting types for `popen'
> /usr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.5.8/include/stdio.h:69: previous dec
> laration of `popen'
> *** Error code 1
> make: Fatal error: Command failed for target `avl.o'
I had the same problem building Xaw version. The way I did is using cc
instead of gcc. Also I had to define _NO_PROTO in config.h(Not sure
whether the definition is needed for Motif version). Another thing is
I edited utils.h and buttons.c. The uname response of my machine is:
sdp /user1/NewsPack/xrn/xrn6-18{139} uname -a
SunOS sdp 4.1.3 3 sun4.
The following shows my correction relative to the original source.
: sdp /user1/NewsPack/xrn/xrn6-18{152} diff utils.h UPDATE.sdp/utils.h
: 95a96
: > # ifndef _NO_PROTO
: 99a101,106
: > # else /* _NO_PROTO */
: > extern char *strtok();
: > extern char *getenv();
: > extern char *malloc();
: > extern char *realloc();
: > # endif /* _NO_PROTO */
: sdp /user1/NewsPack/xrn/xrn6-18{153} diff buttons.c UPDATE.sdp/buttons.c
: 678c678
: < #if XtSpecificationRelase > 4
: ---
: > #if XtSpecificationRelease > 4
I hope this can be any help to xrn6-18 builders.
--
Sang-yong Suh, KIGAM
Voice: +82 42-868-3940
Fax : +82 42-861-9720
Email: sysuh@sdp.kigam.re.kr
Technical Details
Message-ID:
<2tu6ec$hgl@sdp.kigam.re.kr>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!nntp.gmd.de!xlink.net!howland.reston.ans.net!agate!usenet.hana.nm.kr!xpat.postech.ac.kr!sdp.kigam.re.kr!sysuhReferences:
<2tskt0$6i5@chip.iphase.com>Show Full Headers
Complete Article Headers
Message-ID: <2tu6ec$hgl@sdp.kigam.re.kr> Subject: Re: XRN 6.18 wont build Date: Sat, 18 Jun 1994 07:06:52 +0000 From: sysuh@sdp.kigam.re.kr (Sang-yong Suh) References: <2tskt0$6i5@chip.iphase.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!nntp.gmd.de!xlink.net!howland.reston.ans.net!agate!usenet.hana.nm.kr!xpat.postech.ac.kr!sdp.kigam.re.kr!sysuh Newsgroups: news.software.readers Organization: "Korea Inst Geology Mining & Materials" Lines: 43 Distribution: world Reply-To: sysuh@sdp.kigam.re.kr NNTP-Posting-Host: sdp.kigam.re.kr