Building TeX

Jeffrey Marans JEFF at vm.nrc.ca
Fri Sep 21 10:11:35 AEST 1990


I've been trying to build TeX on and SS1 running 4.0.3 and have been able
to make all the except virmf in the two lines

    default:  triptex trapmf
    all:      web2c tangle initex virtex inimf virmf

I set all the suntool, window, and pixrect libs in the makefile, and still
get the error messages at the end of this.  The undefined symbols refer to
variables that live in /usr/include/suntool/gfx_hs.h,
/usr/include/sunwindow/pixwin.h, and /usr/include/pixrect/memvar.h.

When I specifically try to include those .h files in cmf.h, the error
messages tell me those includes may not be portable.

I'd appreciate any comments from people who've gone this route before...

Thanks,
Jeffrey Marans

make virmf
(cd web2cdir; make "SITEDIR=.." "OPT=-O")
cc -O -I..  -sun4 -c  web2cy.c
cc -O -I..  -sun4 -c  web2cl.c
cc -O -I..  -sun4 -c  web2c.c
cc -s -o web2c web2c.o web2cy.o web2cl.o -ll
cc -O -I.. -s -o splitup splitup.c
cc -O -I.. -s -o regfix regfix.c
chmod 755 texware/convert
touch texware/tangle.web; touch texware/tangle.c
(cd texware; make "SITEDIR=.." "OPT=-O" tangle)
cc -O -Dlink=link_array -I.. -c tangle.c
cc -O -Dlink=link_array -I.. -c tanext.c
cc -s -O -Dlink=link_array -I.. -o tangle tangle.o tanext.o
(cd cmf; make "SITEDIR=.." "OPT=-O" "WLIBS=" virmf)
cc -O -I.. -c mf0.c && mv -f mf0.o imf0.o
cc -O -I.. -c mf1.c && mv -f mf1.o imf1.o
cc -O -I.. -c mf2.c && mv -f mf2.o imf2.o
cc -O -I.. -c mf3.c && mv -f mf3.o imf3.o
cc -O -I.. -c mf4.c && mv -f mf4.o imf4.o
cc -O -I.. -c mf5.c && mv -f mf5.o imf5.o
cc -O -I.. -c mf6.c && mv -f mf6.o imf6.o
cc -O -I.. -c mf7.c && mv -f mf7.o imf7.o
cc -O -I.. -c mf8.c && mv -f mf8.o imf8.o
cc -O -I.. -c mf9.c && mv -f mf9.o imf9.o
cc -O -I.. -c mfext.c && mv -f mfext.o imfext.o
cc -O -I.. -c imf.c && mv -f imf.o virmf.o
cc -s -o virmf imf0.o imf1.o imf2.o imf3.o imf4.o imf5.o  imf6.o imf7.o imf8.o i
ld: Undefined symbol
   _gfxsw_init
   _gfxsw_handlesigwinch
   _mem_ops
   _pw_replrop
   _gfxsw_getretained
*** Error code 1
make: Fatal error: Command failed for target `virmf'
Current working directory /home/erie/jeff/tex/tex82/cmf
*** Error code 1
make: Fatal error: Command failed for target `cmf/virmf'



More information about the Comp.sys.sun mailing list