Subject: pkg/4726: mbone/vat doesn'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 17:43:08
>Number: 4726
>Category: pkg
>Synopsis: mbone/vat complains that mac68k is invalid; build later fails
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Dec 19 18: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:
>How-To-Repeat:
Script started on Fri Dec 19 17:08:31 1997
# make
>> Checksum OK for vatsrc-4.0b2.tar.gz.
===> Extracting for vat-4.0b2
===> vat-4.0b2 depends on file: /usr/pkgsrc/audio/gsm/work/gsm-1.0-pl10/lib/libgsm.a - found
===> vat-4.0b2 depends on shared library: tk80 - found
===> vat-4.0b2 depends on shared library: gsm - found
===> Patching for vat-4.0b2
===> Applying NetBSD patches for vat-4.0b2
===> Configuring for vat-4.0b2
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 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
checking for AudioFile
can't find AudioFile - vat AF support won't be compiled
no dynamic load lib
updating cache ./config.cache
creating ./config.status
creating Makefile
===> Building for vat-4.0b2
rm -f inet.o; cc -o inet.o -c -O2 -DSIGRET=void -DFRAMESIZE=160 -I/usr/pkg/include/tk8.0 -I/usr/pkg/include/tcl8.0 inet.c
[lots of file compiles deleted...]
rm -f strtoul.o; cc -o strtoul.o -c -O2 -DSIGRET=void -DFRAMESIZE=160 -I/usr/pkg/include/tk8.0 -I/usr/pkg/include/tcl8.0 strtoul.c
rm -f audio-sun.o; c++ -c -O2 -DSIGRET=void -DFRAMESIZE=160 -I/usr/pkg/include/tk8.0 -I/usr/pkg/include/tcl8.0 audio-sun.cc
audio-sun.cc:42: sun/audioio.h: No such file or directory
audio-sun.cc:45: stropts.h: No such file or directory
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
# exit
exit
Script done on Fri Dec 19 17:28:51 1997
>Fix:
>Audit-Trail:
>Unformatted:
>DescripThe configuration complains that 'mac68k-unknown-netbsd1.3' is
invalid. Later on, audio-sun.cc fails to compile because it cannot
find two include files.
A quick look at the configure script says *-*-netbsd* is what it
is looking for. Why mac68k... fails is a mystery to me.