Subject: pkg/4727: mbone/vic won't build on mac68k
To: None <gnats-bugs@gnats.netbsd.org>
From: Steve Allen <allen@wormey.ndip.eskimo.net>
List: netbsd-bugs
Date: 12/19/1997 19:54:22
>Number:         4727
>Category:       pkg
>Synopsis:       mbone/vic doesn't build on mac68k -- link error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 19 20:05:00 1997
>Last-Modified:
>Originator:     Steve Allen
>Organization:
I speak only for myself.
>Release:        1.3_BETA
>Environment:
	
System: NetBSD wormey 1.3_BETA NetBSD 1.3_BETA (GENERIC) #51: Sun Nov 30 10:07:10 PST 1997 root2@wormey:/usr/src/sys/arch/mac68k/compile/GENERIC mac68k


>Description:
	When vic is being configured, it complains that
	mac68k-unknown-netbsd1.3 is an invalid configuration.  The files
	proceed to build OK, but when it goes to link, gets an error about
	no reference to __DYNAMIC
	
>How-To-Repeat:
	
Script started on Fri Dec 19 17:46:55 1997
# make
>Fix:
	
>Audit-Trail:
>Unformatted:
>> Checksum OK for vicsrc-2.8.tar.gz.
===>  Extracting for vic-2.8
===>  vic-2.8 depends on shared library: tk80\.1 - found
===>  Patching for vic-2.8
===>  Applying NetBSD patches for vic-2.8
===>  Configuring for vic-2.8
creating cache ./config.cache
checking host system type... Invalid configuration `mac68k-unknown-netbsd1.3.': machine `mac68k-unknown' not recognized

checking target system type... Invalid configuration `mac68k-unknown-netbsd1.3.': machine `mac68k-unknown' not recognized

checking build system type... Invalid configuration `mac68k-unknown-netbsd1.3.': machine `mac68k-unknown' not recognized

checking for gcc... cc
checking whether the C compiler (cc -O ) works... yes
checking whether the C compiler (cc -O ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for string.h... yes
checking for main in -lXbsd... no
checking for poll in -lsocket... no
checking for gethostbyname in -lnsl... no
checking for getnodebyname in -ldnet_stub... no
test: solaris2: unknown operand
checking for X11 header files
checking for X11 library archive
checking for XOpenDisplay in -lX11... yes
checking for XShmAttach in -lXext... yes
checking for tcl.h
checking for main in -ltcl80... no
checking for libtcl.a
checking for tcl/init.tcl
checking for tk.h
checking for main in -ltk80... no
checking for libtk.a
checking for tk/tk.tcl
no dynamic load lib
updating cache ./config.cache
creating ./config.status
creating Makefile
===>  Building for vic-2.8
rm -f inet.o; cc -o inet.o -c -O2 -DUSE_SHM -DED_YBITS=4 -DSIGRET=void   -I/usr/pkg/include/tk8.0 -I/usr/pkg/include/tcl8.0    -I./jpeg -I./p64 -I. inet.c

[many file compiles deleted...]

rm -f strtol.o; cc -o strtol.o -c -O2 -DUSE_SHM -DED_YBITS=4 -DSIGRET=void   -I/usr/pkg/include/tk8.0 -I/usr/pkg/include/tcl8.0    -I./jpeg -I./p64 -I. strtol.c
rm -f strtoul.o; cc -o strtoul.o -c -O2 -DUSE_SHM -DED_YBITS=4 -DSIGRET=void   -I/usr/pkg/include/tk8.0 -I/usr/pkg/include/tcl8.0    -I./jpeg -I./p64 -I. strtoul.c
rm -f vic
c++ -O2 -DUSE_SHM -DED_YBITS=4 -DSIGRET=void   -I/usr/pkg/include/tk8.0 -I/usr/pkg/include/tcl8.0    -I./jpeg -I./p64 -I.  -o vic inet.o cellb_tables.o tkStripchart.o md5c.o random.o main.o net.o net-ip.o source.o  iohandler.o timer.o idlecallback.o media-timer.o  session.o session-rtpv1.o session-nv.o session-ivs.o  decoder.o decoder-jpeg.o decoder-nv.o  decoder-h261.o decoder-h261v1.o  decoder-cellb.o  device.o grabber.o vw.o Tcl.o Tcl2.o module.o transmitter.o  encoder-nv.o encoder-cellb.o encoder-h261.o  transcoder-jpeg.o framer-jpeg.o  group-ipc.o confbus.o renderer.o renderer-window.o  color.o color-true.o color-pseudo.o color-dither.o color-ed.o  color-quant.o color-hi.o color-gray.o color-mono.o color-hist.o  rgb-converter.o jpeg/jpeg.o p64/p64.o dct.o  compositor.o rate-variable.o crypt.o crypt-dull.o  grabber-still.o cm0.o cm1.o huffcode.o version.o bv.o  ui-ctrlmenu.o ui-main.o ui-resource.o ui-srclist.o ui-stats.o ui-util.o ui-windows.o ui-switcher.o ui-extout.o ui!
-grabber.o ui-unix.o cf-main.o cf-tm.o cf-confbus.o cf-network.o cf-util.o tkerror.o entry.o tk.o strtol.o strtoul.o    -L/usr/pkg/lib -ltk80 -L/usr/pkg/lib -ltcl80 -lXext -lX11  -lm -static
ld: No reference to __DYNAMIC
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
# exit

Script done on Fri Dec 19 18:42:19 1997