🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Patrick Larkin Jr Fri, 17 Jun 1994 17:01
XRN 6.18 wont build
#9594
Author: Patrick Larkin Jr
Date: Fri, 17 Jun 1994 17:01
29 lines
1739 bytes
I've been running 6.17 Motif for some time, but wanted to check out
the new version Ive seen talked about here.  I got 
xrn-6.18.tar.gz (it seemed to be the newest one listed in archie),
but I cant get it to build:


godzilla# uname -a
SunOS godzilla 4.1.3 1 sun4
godzilla# xmkmf
imake -DUseInstalled -I/usr/lib/X11/config
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'

Yes, I've read the README's and such and followed them closely.
I'm on X11R5PL26, Motif 1.2, INN 1.4sec, and gcc 2.5.8.
What do I need to do to get this to compile?
Thanks,
-- 
////////////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
|\|  <plarkin@iphase.com> PATRICK LARKIN - System Administrator    |\|
|/|  #include <std_disclaimer.h>   /*  Interphase Corporation  */  |/|
|\|  #include "clever_quote_de_jour.h"   /*  Dallas TX - USA  */   |\|
Re: XRN 6.18 wont build
#9598
Author: Sang-yong Suh
Date: Sat, 18 Jun 1994 07:06
43 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads