🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #6465

Re: xrn6.17 on HPUX 9.01

#6465
From: Bill Braden web037
Date: Thu, 11 Nov 1993 16:50
105 lines
5191 bytes
In article <2bosqa$3h9@scout.cacd.cr.rockwell.com>, kelauben@wizard.cacd.cr.rockwell.com (Karl Laubengayer) writes:

>Has anyone out there gotten the xrn6.17 to compile on an HP workstation running
>HPUX 9.01 and using the Motif Wigit set?
>
>If so could you please contact me a kelauben@apollo1.cacd.cr.rockwell.com and let
>me know why I get the following errors.
>
>Thanks in advance.
>
>PS. This code was retrieved from the Liverpool Archives
>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>
>make
>        cc +O1 +DA1.0   -I/usr/contrib/mitX11R5/include  -DSYSV -DNLS16 >-DMALLOC_0_RETURNS_NULL -DMERGE -DTDUX -DNDEBUG
> -D__hpux -Dhpux -DOSMAJORVERSION=8 -DOSMINORVERSION=0 -D__hp9000s800 -Dhp9000s800   -DMOTIF -I/usr/include/Motif1.2
>-c compose.c
>/usr/contrib/mitX11R5/include/Xm/XmStrDefs.h: 3372: too much defining - use -H option0
	(Repeted lined deleted)



The "too much defining" error I think I can help with.  You need to run that particular module through cpp first with a -H bigger than the default of 128000.
Try,

  /lib/cpp -H256000 -I/usr/contrib/mitX11R5/include -DSYSV -DNLS16
  -DMALLOC_0_RETURNS_NULL -DMERGE -DTDUX -DNDEBUG -D__hpux
  -Dhpux-DOSMAJORVERSION=8 -DOSMINORVERSION=0 -D__hp9000s800 -Dhp9000s800
  -DMOTIF -I/usr/include/Motif1.2  compose.c compose.i

  cc +O1 +DA1.0   -I/usr/contrib/mitX11R5/include  -DSYSV -DNLS16
  -DMALLOC_0_RETURNS_NULL -DMERGE -DTDUX -DNDEBUG -D__hpux -Dhpux
  -DOSMAJORVERSION=8 -DOSMINORVERSION=0 -D__hp9000s800
  -Dhp9000s800   -DMOTIF -I/usr/include/Motif1.2 -c compose.i

  Then run make again to get the rest of the files.

If you comment out the line
	#define MOTIF
in config.h, this problem does not occure but then of course it does not use motif.

I too am having problems getting this to build.  I am using the xrn6.17 from the interworks CD.  After much work trying to get the link librarys correct and discovering that I get a little further if I undefine MOTIF in config.h, I am down to the errors that follow at the end of this post.  Any ideas?



Bill Braden
web037@measurex.com			"Onward Through The Fog"
--------------------------------------------------------------
Any opinions expressed belong to me not Measurex.
--------------------------------------------------------------

ERRORS:

        cc -O  -I/usr/include/X11R5 -DSYSV -DNLS16 -DMALLOC_0_RETURNS_NULL -DMERGE -DTDUX -DNDEBUG -D__hpux -Dhpux -DOSMAJORVERSION=8 -DOSMINORVERSION=0 -D__hp9000s700 -Dhp9000s700 -DMOTIF -I/usr/include/Motif1.2 -I/X11/R5/mit -I/usr/include       -c cancel.c

/config.h: 184: warning- MOTIF redefined  (occures for each .c file)


        cc -o xrn avl.o buttons.o clientlib.o compose.o cursor.o dialogs.o  refile.o mesg.o error_hnds.o newsrcfile.o resources.o      internals.o save.o server.o utils.o xmisc.o xrn.o     xthelper.o vprintf.o tempnam.o strstr.o strtok.o y.tab.o cancel.o -O   -L /usr/lib/X11R4 -lXaw -lXmu -lXt -lXext                         -lX11 
/bin/ld: Unsatisfied symbols:
   _XmStrings (data)
   XmTextInsert (code)
   regcmp (code)
   XmStringFree (code)
   XmCreateForm (code)
   XmTextPosToXY (code)
   XmCreateScrolledList (code)
   XmCreatePushButtonGadget (code)
   XmTextSetString (code)
   XmTextGetCursorPosition (code)
   XmCreateLabel (code)
   regex (code)
   XmCreateSeparator (code)
   XmCreatePanedWindow (code)
   XmTextSetCursorPosition (code)
   XmUpdateDisplay (code)
   XmScrollBarGetValues (code)
   XmListAddItems (code)
   XmListDeselectAllItems (code)
   XmTextShowPosition (code)
   XmFontListGetNextFont (code)
   XmListReplaceItemsPos (code)
   XmTextGetLastPosition (code)
   XmStringGetNextSegment (code)
   XmCreatePushButton (code)
   XmCreateScrolledText (code)
   XmListSelectPos (code)
   XmListSetBottomPos (code)
   XmScrollBarSetValues (code)
   XmTextGetString (code)
   XmCreateRowColumn (code)
   XtShellStrings (data)
   XmStringInitContext (code)
   XmListItemPos (code)
   XmCreateText (code)
   XtStrings (data)
   XmFontListInitFontContext (code)
   XmStringCreate (code)
   XmTextReplace (code)
   XmListGetSelectedPos (code)
   XmListSetPos (code)
*** Error code 1
Technical Details
Message-ID: <CGC6sn.B3I@measurex.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.hp.apps.mbox.zip!gmd.de!rrz.uni-koeln.de!news.rhrz.uni-bonn.de!mpifr-bonn.mpg.de!uniol!math.fu-berlin.de!nigel.msen.com!yale.edu!spool.mu.edu!howland.reston.ans.net!sol.ctr.columbia.edu!news.columbia.edu!psinntp!psinntp!juno.measurex.com!measurex.com!web037
References: <2bosqa$3h9@scout.cacd.cr.rockwell.com>

Show Full Headers
Complete Article Headers
Message-ID: <CGC6sn.B3I@measurex.com>
Subject: Re: xrn6.17 on HPUX 9.01
Date: Thu, 11 Nov 1993 16:50:46 GMT
From: web037@measurex.com (Bill Braden (web037@measurex.com))
References: <2bosqa$3h9@scout.cacd.cr.rockwell.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.hp.apps.mbox.zip!gmd.de!rrz.uni-koeln.de!news.rhrz.uni-bonn.de!mpifr-bonn.mpg.de!uniol!math.fu-berlin.de!nigel.msen.com!yale.edu!spool.mu.edu!howland.reston.ans.net!sol.ctr.columbia.edu!news.columbia.edu!psinntp!psinntp!juno.measurex.com!measurex.com!web037
Newsgroups: comp.sys.hp.apps,news.software.readers
Lines: 104
Sender: usenet@measurex.com (USENET ACCESS)
Reply-To: web037@measurex.com (Bill Braden (web037@measurex.com))
Organization: Measurex Corporation "The Results Company"