From owner-freebsd-hackers@FreeBSD.ORG Mon Sep 8 16:10:16 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF46416A4BF for ; Mon, 8 Sep 2003 16:10:16 -0700 (PDT) Received: from hotmail.com (law11-f22.law11.hotmail.com [64.4.17.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC78843FA3 for ; Mon, 8 Sep 2003 16:10:15 -0700 (PDT) (envelope-from int0x80@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 8 Sep 2003 16:10:15 -0700 Received: from 24.202.207.215 by lw11fd.law11.hotmail.msn.com with HTTP; Mon, 08 Sep 2003 23:10:15 GMT X-Originating-IP: [24.202.207.215] X-Originating-Email: [int0x80@hotmail.com] From: "Raunchy McSmutbag" To: enache@rdslink.ro, John.Giacomoni@colorado.edu Date: Mon, 08 Sep 2003 23:10:15 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 08 Sep 2003 23:10:15.0629 (UTC) FILETIME=[5D079FD0:01C3765E] cc: freebsd-hackers@freebsd.org Subject: Re: C++ code in a kernel module? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2003 23:10:16 -0000 would a -static when compiling fix it? >From: Enache Adrian >To: John Giacomoni >CC: freebsd-hackers@freebsd.org >Subject: Re: C++ code in a kernel module? >Date: Mon, 8 Sep 2003 23:48:43 +0300 >MIME-Version: 1.0 >Received: from mx2.freebsd.org ([216.136.204.119]) by mc10-f22 with >Microsoft SMTPSVC(5.0.2195.5600); Mon, 8 Sep 2003 14:56:20 -0700 >Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18])by >mx2.freebsd.org (Postfix) with ESMTPid 5473F5632E; Mon, 8 Sep 2003 >14:55:58 -0700 (PDT)(envelope-from owner-freebsd-hackers@freebsd.org) >Received: from hub.freebsd.org (localhost [127.0.0.1])by hub.freebsd.org >(Postfix) with ESMTPid 3F6A016A4F3; Mon, 8 Sep 2003 14:55:55 -0700 (PDT) >Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])by >hub.freebsd.org (Postfix) with ESMTP id 45FF716A4BFfor >;Mon, 8 Sep 2003 14:55:19 -0700 (PDT) >Received: from mail.rdslink.ro (mail.rdslink.ro [193.231.236.20])by >mx1.FreeBSD.org (Postfix) with SMTP id 192C143FCBfor >;Mon, 8 Sep 2003 14:55:17 -0700 >(PDT)(envelope-from enache@rdslink.ro) >Received: (qmail 22899 invoked from network); 8 Sep 2003 21:51:47 -0000 >Received: from unknown (HELO ratsnest.hole) (81.196.247.66) by >mail.rdslink.ro with SMTP; 8 Sep 2003 21:51:47 -0000 >X-Message-Info: EoYTbT2lH2OdDci6cl9DIoYWxDafPXZ9 >Delivered-To: freebsd-hackers@freebsd.org >Message-ID: <20030908204843.GB1347@ratsnest.hole> >Mail-Followup-To: John Giacomoni >,freebsd-hackers@freebsd.org >References: >In-Reply-To: >User-Agent: Mutt/1.4i >X-BeenThere: freebsd-hackers@freebsd.org >X-Mailman-Version: 2.1.1 >Precedence: list >List-Id: Technical Discussions relating to >FreeBSD >List-Unsubscribe: >, >List-Archive: >List-Post: >List-Help: >List-Subscribe: >, >Sender: owner-freebsd-hackers@freebsd.org >Errors-To: owner-freebsd-hackers@freebsd.org >Return-Path: owner-freebsd-hackers@freebsd.org >X-OriginalArrivalTime: 08 Sep 2003 21:56:21.0546 (UTC) >FILETIME=[0A1C40A0:01C37654] > >On Mon, Sep 08, 2003 a.d., John Giacomoni wrote: > > as long as I do not make any calls into kernel functions > > things seem to work (load), however when I make a call to > > mtx_init then on load i get the following error: > > __gxx_personality_v0 undefined. > > > > thoughts/ideas/suggestions? > >That's nice. Your kernel module is needing libstdc++.so :-) > >Regards, >Adi >_______________________________________________ >freebsd-hackers@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail