Subject: pkg/23252: x11/fltk does not build under 1.6ZD
To: None <>
From: None <>
List: netbsd-bugs
Date: 10/23/2003 14:50:58
>Number:         23252
>Category:       pkg
>Synopsis:       x11/fltk does not build under 1.6ZD
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 23 21:51:00 UTC 2003
>Release:        NetBSD 1.6ZD
System: NetBSD sanctum 1.6ZD NetBSD 1.6ZD (SANCTUM) #0: Sun Oct 19 18:24:45 PDT 2003 root@sanctum:/usr/obj/sys/arch/i386/compile/SANCTUM i386
Architecture: i386
Machine: i386

fltk's gui-builder "fluid" doesn't link because the objects were built with
cc instead of c++.  I don't know enough about g++ to explain it.

Linking fluid...
cc -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -o .libs/fluid Fl_Function_Type.o Fl_Menu_Type.o Fl_Group_Type.o Fl_Widget_Type.o Fl_Type.o Fl_Window_Type.o Fluid_Image.o code.o factory.o file.o fluid.o about_panel.o widget_panel.o alignment_panel.o function_panel.o gif.o -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib  -L/usr/pkgsrc/x11/fltk/work/.buildlink/lib -L/usr/pkgsrc/x11/fltk/work/.buildlink-x11/lib ../src/.libs/ -L/usr/pkg/lib -L/usr/X11R6/lib /usr/pkg/lib/ /usr/pkg/lib/ -lSM -lICE -lXmu -lXi -lpthread -lX11 -lXext -lm -Wl,--rpath -Wl,/usr/pkg/lib
Fl_Function_Type.o: In function `Fl_Function_Type::make()':
Fl_Function_Type.o(.text+0x22f): undefined reference to `operator new(unsigned)'


	try to build fltk under -current
	Since I am unfamiliar with g++ I don't know how correct this fix is,
	but the fix does remove the build-time error.