[comp.windows.x] xrn compilation problems

djd@eos (Daniel J. Dasaro) (09/20/90)

I'm getting some compilation errors (warnings) and "Undefined" errors while
compiling xrn6-12 (I tried 6-12-1 also).  Have I forgotten to make a
definition in the config file or the Makefile?  The system is a Vax 11/785
with Unix 4.3 BSD.  Any and all clues are appreciated.

-Dan
---------------------------------------------------
This is what happens:

hermes# xmkmf
mv Makefile Makefile.bak
imake -DUseInstalled -I/usr/lib/X11/config
hermes# make xrn
		...COMPILATIONS START...
gcc -DNOSTDHDRS -fstrength-reduce -fpcc-struct-return -fwritable-strings
-traditional -O -I/usr/include -c server.c
server.c: In function getarticle:
server.c:164: warning: assignment of pointer from integer lacks a cast

...COMPILATIONS CONTINUE...

gcc -DNOSTDHDRS -fstrength-reduce -fpcc-struct-return -fwritable-strings
-traditional -o xrn avl.o buttons.o clientlib.o compose.o cursor.o dialogs.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 strtok.o y.tab.o cancel.o -O
-lXaw -lXmu -lXt -lXext -lX11

Undefined:
_tempnam
_vfprintf
_vsprintf
*** Exit 1
[1]    Exit 1               make xrn

ricks@aaargh.objy.com (Rick L. Spickelmier) (09/21/90)

We made the (bad) assumption that tempnam existed on the machines supported
by XRN (wrong).  6.13 fixes this (includes an implementation of tempnam for
those machines that don't support it).  6.13 fixes alot of other problems 
introduced in 6.12 and 6.12.1.  It should be out by the weekend.

-- 

	    Rick L. Spickelmier
	    Objectivity, Inc.

	    ricks@berkeley.edu, ricks@objy.com

peter_colby@viewlogic.COM (09/21/90)

	Where will xrn 6.13 be available from??
	peter@viewlogic.com