From owner-freebsd-questions Sat May 6 13:26:03 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id NAA19557 for questions-outgoing; Sat, 6 May 1995 13:26:03 -0700 Received: from bonkers (pm2_17.digital.net [198.69.104.147]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id NAA19551 for ; Sat, 6 May 1995 13:25:57 -0700 Received: (from kcw@localhost) by bonkers (8.6.9/8.6.9) id QAA00175 for freebsd-questions@FreeBSD.ORG; Sat, 6 May 1995 16:25:36 -0400 From: Ken Whedbee Message-Id: <199505062025.QAA00175@bonkers> Subject: Anyone linked with Hungry ViewKit ? To: freebsd-questions@FreeBSD.org Date: Sat, 6 May 1995 16:25:35 -0400 (EDT) Reply-To: whedbee@ddi.digital.net X-Mailer: ELM [version 2.4 PL24 PGP2] Content-Type: text Content-Length: 1255 Sender: questions-owner@FreeBSD.org Precedence: bulk Hi - Has anybody using FreeBSD managed to link a program using the Hungry Programmer's version of ViewKit ? I tried compiling the equivalent of "hello world" below but couldn't get it to link. ///////////////////////////////////////////////////////////// // Simplest possible ViewKit application vk_generic.C ///////////////////////////////////////////////////////////// #include #include void main ( int argc, char **argv ) { VkApp *app = new VkApp("Generic", &argc, argv); VkWindow *win = new VkWindow("generic"); win->show(); // Display the window app->run(); // Run the application } I tried compiling with the command line: % g++ -I/usr/X11R6/include -o vk_generic -L/usr/X11R6/lib vk_generic.C -lvk -lXm -lXmu -lXt -lX11 and got: VkComponent.o: Undefined symbol `___16VkCallbackObject' referenced from text seg ment VkComponent.o: Undefined symbol `_callCallbacks__16VkCallbackObjectPCcPv' refere nced from text segment I attempted this with the Apr19-2243 Hungry ViewKit Release Of The Day. My platform is FreeBSD2.0R plus PPP patch; gcc ver 2.6.2; X11R6; Motif 1.2. Thanx for any insights in getting this to compile and link ! -- Ken Whedbee whedbee@ddi.digital.net