Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jul 1999 15:26:25 -0400 (EDT)
From:      nsj@ncsu.edu (Nate Johnson)
To:        freebsd-questions@freebsd.org
Subject:   3.2R make world & XF86 3.3.4 builds fail
Message-ID:  <199907231926.PAA16951@thermo.stat.ncsu.edu>

next in thread | raw e-mail | index | archive | help
Greetings!

I recently began the process of upgrading my more-or-less vanilla FreeBSD
2.2.6R system to 3.2R via cvsupping source code and 'making world.'  Here's
what I did:

* Started with 2.2.6.  CVSupped sources for 2.2.6, rebuild world, everything OK.

* CVSupped source for 3.2R.

* made aout-to-elf to convert system.  Rebuilt kernel, rebooted.  Everything
  is cool.

* Attempted to make world.  The build failed, whining about some X libraries.
  So, I figured I would upgrade X and fix this problem in the process.

* CVSupped the ports collection.

* Attempted to build XFree86.  It 'makes' just fine, but when I go to 'make
  install,' it dies when trying to compile XF86Setup with a slew of errors.
  A sample follows:

litterbox/%~% make
rm -f XF86Setup
cc -o XF86Setup -O2 -ansi -pedantic -Dasm=__asm     -L../../../../../exports/lib main.o tclmisc.o tclvidmode.o tclcards.o tclother.o               tclkbd.o tclxfconf.o xf86Config.o cards.o tclxkbui.o                    tkother.o  -lxkbui -lxkbfile                    -Wl,-Bstatic -L/usr/local/lib -ltk80 -Wl,-Bdynamic -Wl,-Bstatic -L/usr/local/lib -ltcl80 -Wl,-Bdynamic -lXxf86vm -lXxf86misc                     -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 -lm   -L/usr/X11R6/lib   -lxpg4  -Wl,-rpath,/usr/X11R6/lib
main.o: In function `XF86Setup_TclEvalFile':
main.o(.text+0x1e): undefined reference to `Tcl_VarEval'
main.o(.text+0x32): undefined reference to `Tcl_GetVar'
main.o(.text+0x56): undefined reference to `Tcl_Eval'
main.o(.text+0x69): undefined reference to `Tcl_ResetResult'
main.o: In function `XF86Setup_TclRunScript':
main.o(.text+0xd6): undefined reference to `Tcl_VarEval'
main.o(.text+0x105): undefined reference to `Tcl_VarEval'
main.o(.text+0x119): undefined reference to `Tcl_GetVar'
main.o(.text+0x13d): undefined reference to `Tcl_Eval'
main.o(.text+0x150): undefined reference to `Tcl_ResetResult'
main.o: In function `main':
main.o(.text+0x1e2): undefined reference to `Tcl_CreateInterp'
main.o(.text+0x1fb): undefined reference to `Tk_ParseArgv'
main.o(.text+0x314): undefined reference to `Tcl_Eval'
main.o(.text+0x34e): undefined reference to `Tcl_GetVar'
main.o(.text+0x36a): undefined reference to `Tcl_SetVar'
main.o(.text+0x388): undefined reference to `Tcl_Merge'
main.o(.text+0x3a2): undefined reference to `Tcl_Merge'
main.o(.text+0x3cd): undefined reference to `Tcl_SetVar'

...and so on.  There are roughly 350 "undefined references" to functions with
either 'Tcl' or 'Tk' in their names.  I've tried rebuilding the ports for
tcl75, tclX75, tcl80, tcl81, tk80, and tk81, but to no avail--same errors.

The system is a P5/166 with 96MB of RAM with a 4GB ultra narrow SCSI disk as
the system box.

Any suggestions as to what else I could do to fix this?  I am not a
freebsd-questions subscriber, so please CC: me on any responses.

Cheers,
nsj

-- 
Nate Johnson -=- nsj@ncsu.edu -=- NC State Computer Science and Meteorology
My thoughts are my own, and    | "Experience is the worst teacher; it
do not necessarily reflect     |  gives the test before the lesson."
those of anyone but me.        |                -- Vernon Law



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907231926.PAA16951>