From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Thu, 25 Oct 2007 16:56:56 +0100 (BST) Received: from mail.lysator.liu.se ([130.236.254.3]:60627 "EHLO mail.lysator.liu.se") by ftp.linux-mips.org with ESMTP id S20022631AbXJYP4r (ORCPT ); Thu, 25 Oct 2007 16:56:47 +0100 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id C2D18200AB88; Thu, 25 Oct 2007 17:56:45 +0200 (CEST) Received: from mail.lysator.liu.se ([127.0.0.1]) by localhost (lenin.lysator.liu.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16630-01-50; Thu, 25 Oct 2007 17:56:45 +0200 (CEST) Received: from [192.168.27.65] (6.240.216.81.static.lk.siwnet.net [81.216.240.6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTP id 01353200AB86; Thu, 25 Oct 2007 17:56:44 +0200 (CEST) Message-ID: <4720BCAE.1030209@27m.se> Date: Thu, 25 Oct 2007 17:56:30 +0200 From: Markus Gothe User-Agent: Icedove 1.5.0.14pre (X11/20071018) MIME-Version: 1.0 To: kaka Cc: directfb-users@directfb.org, directfb-dev@directfb.org, linux-mips@linux-mips.org, uclinux-dev@uclinux.org, linux-fbdev-users@lists.sourceforge.net Subject: Re: Updated:Error opening framebuffer device/Unknown symbol References: In-Reply-To: X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at lysator.liu.se Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 17220 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: markus.gothe@27m.se Precedence: bulk X-list: linux-mips -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 You cannot use libc-stuff for the kernel, use the kernel equalients... //Markus kaka wrote: > Hi All, > > Thanks for the overhelming responses. > I was able to remove the problem of Unknown symbols by linking the > proper libraries. Now the problem got reduced to the following messages. > > # insmod brcmstfb.ko > brcmstfb: Unknown symbol printf > brcmstfb: Unknown symbol malloc > brcmstfb: Unknown symbol free > insmod: cannot insert `brcmstfb.ko': Unknown symbol in module (2): > No such file or directory > # > > for the above problem i had tried to link "libgcc.a " but those > symbols are also undefined in it also. > RECAP: > While running the cross compiled directFB example on MIPS chip,* > We tried to install the framebuffer driver(command given > above) after creating the node fb0. > APPROACH: > Actually the code of frambuffer driver consists of usual kernel > framebuffer code and properitiary graphics lib code. > The properitiary graphics lib code is using malloc,print and free > from and that is why those symbols are coming undefined. > > Could anybody help in this regard? > Thanks in advance. > > kaka > > > > ---------- Forwarded message ---------- > From: *kaka* < share.kt@gmail.com > > Date: Oct 12, 2007 6:33 PM > Subject: Error opening framebuffer device/Unknown symbol > register_framebuffer > To: directfb-users@directfb.org > , directfb-dev@directfb.org > . > > > > * Hi All, * > > * While running the cross compiled directFB example on MIPS chip, * > > * > > > > We tried to install the framebuffer driver(command given at the bottom) and we have already created the node fb0. * > > * We are getting the following error, * > > > > * Can anybody help in this regard ? * > > * Thanks in Advance. * > > # ../../cross_directfb/simple_mips > > =======================| DirectFB 1.0.0 |======================= > (c) 2001-2007 The DirectFB Organization (directfb.org ) > (c) 2000-2004 Convergence (integrated media) GmbH > ------------------------------------------------------------ > > (*) DirectFB/Core: Single Application Core. (2007-10-05 14:17) > (!) Direct/Util: opening '/dev/fb0' failed > --> No such device or address > (!) DirectFB/FBDev: Error opening framebuffer device! > (!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment variable. > (!) DirectFB/Core: Could not initialize 'system' core! > --> Initialization error! > simple.c <96>: > (#) DirectFBError [DirectFBCreate (&dfb)]: Initialization error! > # > > * While running the following command in MIPS chip, we are getting the following error. * > > # insmod brcmstfb.ko > brcmstfb: Unknown symbol unregister_framebuffer > brcmstfb: Unknown symbol printf > brcmstfb: Unknown symbol malloc > brcmstfb: Unknown symbol fb_find_mode > brcmstfb: Unknown symbol fb_dealloc_cmap > brcmstfb: Unknown symbol fb_alloc_cmap > brcmstfb: Unknown symbol framebuffer_release > brcmstfb: Unknown symbol free > insmod: cannot insert `brcmstfb.ko': Unknown symbol in module (2): No such file or directory > # > # > > > > > > > -- > Thanks & Regards, > kaka > > -- > Thanks & Regards, > kaka - -- _______________________________________ Mr Markus Gothe Software Engineer Phone: +46 (0)13 21 81 20 (ext. 1046) Fax: +46 (0)13 21 21 15 Mobile: +46 (0)73 718 72 80 Diskettgatan 11, SE-583 35 Linköping, Sweden www.27m.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHILyr6I0XmJx2NrwRCDF2AJ9eZIGLy2mPEiUn6bz4+oX7pclzWACfQBn8 pv3s3/Hpkhhau69I7NZLCJ0= =0zSq -----END PGP SIGNATURE-----