Newsgroups: comp.protocols.iso.dev-environ
Subject: Problems building 8.0p1 under SunOS 4.1.2
From: bcs@terra.cs.waikato.ac.nz (Brent Summers)
Date: 18 Dec 1992 15:11:34 +1300
Distribution: world
Organization: Comp Sci, U of Waikato, New Zealand
NNTP-Posting-Host: jupiter.cs.waikato.ac.nz


Hi all,

I'm attempting to build the ISODE 8.0, with patch1 applied, on a Sun SPARC
IPC running SunOS 4.1.2, compiling with Sun's own (bundled) C compiler, and
I've run into a series of problems.  The errors seem, at least in the early
stages, identical whether I'm building for static or dynamic linkage.

As far as configuration goes I've changed _absolutely nothing_ except the
definitions for SBINDIR, ETCDIR, LOGDIR and INCDIRM in <hostname>.make -
sunos4-1.h and <hostname>.h are identical (in the statically linked
version).  

I've:
  linked <hostname>.{make,h} to CONFIG.make and ../h/CONFIG.h respectively.
  copied <various>.local to ../support without editing.
  made "once-only"
  made....and this is what happens...

The first glitch is at the beginning of the pepsy build:
----------------------------- transcript ----------------------------
PSAP library built normally
cc -g    -I. -I../h   -c psaptest.c
cc -g -o psaptest psaptest.o libpsap.a ../libcompat.a 
cc -g    -I. -I../h   -c hex2pe.c
cc -g -o hex2pe hex2pe.o
cc -g    -I. -I../h   -c dec2pe.c
cc -g -o dec2pe dec2pe.o
cd pepsy; ./make DESTDIR=  -k all
cc -g    -I. -I../h -DPEPYPATH -DPEPSYPATH=\".:/usr/local/include/isode/pepsy\"  -c pepsy.c
lex  lex.l
"lex.l", line 337: (Error) Action does not terminate
*** Error code 1
make: Warning: Don't know how to make target `pepsyvrsn.o'
Current working directory /usr/local/src/isode-8.0/pepsy
--------------------------- eo transcript ----------------------------

The build continues on, however, until:
------------------------------ transcript ----------------------------
PEPSY library built normally
ln: UNIV-types.h: No such file or directory
make: Warning: Target `all' not remade because of errors
Current working directory /usr/local/src/isode-8.0/pepsy
--------------------------- eo transcript ----------------------------

...and still it continues on:
------------------------------ transcript ----------------------------
PEPY library built normally
./xpepy -a PY_advise -m  pepytest.py
pepy 8.0 #2 (terra) of Fri Dec 18 14:03:28 NZDT 1992
PEPYTEST none parse print: PersonnelRecord ChildInformation Name
         EmployeeNumber Date
cc -g    -I. -I../h -DPEPYPATH=\".:/usr/local/include/isode/pepy\"  -c pepytest.c
ld -x -r pepytest.o
mv a.out pepytest.o
cc -g -o pepytest pepytest.o libpepy.a ../libpepsy.a ../libpsap.a ../libcompat.a \
		
ld: Undefined symbol 
   _vname 
   _vprint 
   _vpop 
   _vpush 
   _vstring 
*** Error code 2
./xpepy -a PY_advise -m  pp.py
pepy 8.0 #2 (terra) of Fri Dec 18 14:03:28 NZDT 1992
PRETTY none none print: Printer
--------------------------- eo transcript ----------------------------

This last is stuff not found in libpepsy.a, I assume.

After this, things seem to go to hell in a fairly major way.  "ar"
complains bitterly about missing object files, "make" mourns it's inability
to come up with chunks of pepsy stuff, "cc" starts complaining about
missing include files up in ../acsap, etc, etc.  About there I decided to
call it a day.

Can anyone there help me on this?  I assume it's *got* to be a config error
on my part (although I can't see how I can mess up a lex source file) -
either that or patch#1 is broken somehow?

Thanx in advance,
-- 
+-Brent Summers, U of Waikato, NZ------------------------------------------+
|   Programming:  Navigating through an infinity of programs in search of  |
|   one of a much smaller infinity of reasonable solutions.  Blindfolded.  |
+--------------------------------------------------------bcs@waikato.ac.nz-+
Newsgroups: comp.protocols.iso.dev-environ