C++ code in a kernel module?

Raunchy McSmutbag int0x80 at hotmail.com
Mon Sep 8 16:10:16 PDT 2003


would a -static when compiling fix it?


>From: Enache Adrian <enache at rdslink.ro>
>To: John Giacomoni <John.Giacomoni at colorado.edu>
>CC: freebsd-hackers at 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 at 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 
><freebsd-hackers at freebsd.org>;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 
><freebsd-hackers at freebsd.org>;Mon,  8 Sep 2003 14:55:17 -0700 
>(PDT)(envelope-from enache at 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 at freebsd.org
>Message-ID: <20030908204843.GB1347 at ratsnest.hole>
>Mail-Followup-To: John Giacomoni 
><John.Giacomoni at colorado.edu>,freebsd-hackers at freebsd.org
>References: <DBE1CF41-E222-11D7-80D8-0003930719D8 at colorado.edu>
>In-Reply-To: <DBE1CF41-E222-11D7-80D8-0003930719D8 at colorado.edu>
>User-Agent: Mutt/1.4i
>X-BeenThere: freebsd-hackers at freebsd.org
>X-Mailman-Version: 2.1.1
>Precedence: list
>List-Id: Technical Discussions relating to 
>FreeBSD<freebsd-hackers.freebsd.org>
>List-Unsubscribe: 
><http://lists.freebsd.org/mailman/listinfo/freebsd-hackers>,<mailto:freebsd-hackers-request at freebsd.org?subject=unsubscribe>
>List-Archive: <http://lists.freebsd.org/pipermail/freebsd-hackers>
>List-Post: <mailto:freebsd-hackers at freebsd.org>
>List-Help: <mailto:freebsd-hackers-request at freebsd.org?subject=help>
>List-Subscribe: 
><http://lists.freebsd.org/mailman/listinfo/freebsd-hackers>,<mailto:freebsd-hackers-request at freebsd.org?subject=subscribe>
>Sender: owner-freebsd-hackers at freebsd.org
>Errors-To: owner-freebsd-hackers at freebsd.org
>Return-Path: owner-freebsd-hackers at 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 at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
>To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"

_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*   
http://join.msn.com/?page=features/junkmail



More information about the freebsd-hackers mailing list