Subject: None
To: BSD Packages <tech-pkg@netbsd.org>
From: Gandhi woulda smacked you <greywolf@starwolf.com>
List: tech-pkg
Date: 09/12/1999 20:18:21
I remember seeing something about ncurses not compiling but I have
foolishly dropped the scrolls that bore the wisdom of these trials
and tribulations.

The short story is it's trying to link a text file as a library archive!

Here's the error output:

	.
	.
	.

ar rv ../lib/libncurses++.a ../objects/cursesf.o ../objects/cursesm.o
../objects/cursesw.o ../objects/cursesp.o ../objects/cursslk.o
../objects/cursesapp.o ../objects/cursesmain.o
a - ../objects/cursesf.o
a - ../objects/cursesm.o
a - ../objects/cursesw.o
a - ../objects/cursesp.o
a - ../objects/cursslk.o
a - ../objects/cursesapp.o
a - ../objects/cursesmain.o
ranlib ../lib/libncurses++.a
cd ../objects; c++ -I../c++ -I../include -I. -DHAVE_CONFIG_H -DNDEBUG -I.
-I../include -I/usr/local/include -g -O2 -c ../c++/cursesmain.cc
cd ../objects; c++ -I../c++ -I../include -I. -DHAVE_CONFIG_H  -DNDEBUG -I. -I../include -I/usr/local/include -g -O2 -c ../c++/demo.cc
c++ -o demo ../objects/demo.o -L../lib -L/usr/local/lib  -lncurses++  -L/usr/local/lib ../lib/libform.la ../lib/libmenu.la ../lib/libpanel.la ../lib/libncurses.la   -g -Wl,-R/usr/local/lib -L/usr/local/lib -g -Wl,-R/usr/local/lib -L/usr/local/lib  -lg++ -lm
../lib/libform.la: file not recognized: File format not recognized
collect2: ld returned 1 exit status
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

lib/libform.a contains:
# libform.la - a libtool library file
# Generated by ltmain.sh - GNU libtool 1.2

# The name that we can dlopen(3).
dlname=''

# Names of this library.
library_names='libform.so.4.2'

# The name of the static archive.
old_library='libform.a'

# Libraries that this one depends upon.
dependency_libs=''

# Version information for libform.
current=4
age=0
revision=2

# Directory that this library needs to be installed in:
libdir='/usr/local/lib'
##### end libform.a

...so what happened here, again?

				--*greywolf;
--
Microsoft:
	"Just click on the START button and your journey to the Dark Side
	 will be complete!"