Return-Path: Received: from bbnrel4.net.external.hp.com (bbnrel4.net.external.hp.com [155.208.254.68]) by dsl2.external.hp.com (Postfix) with ESMTP id BD0F4482A for ; Wed, 23 Jan 2002 11:18:42 -0700 (MST) Received: from hpfrcu03.france.hp.com (hpfrcu03.france.hp.com [15.129.16.51]) by bbnrel4.net.external.hp.com (Postfix) with ESMTP id AD00D364 for ; Wed, 23 Jan 2002 19:18:40 +0100 (MET) Received: from admin.france.hp.com (ssdpc48.france.hp.com [15.129.234.2]) by hpfrcu03.france.hp.com with ESMTP (8.7.6/8.7.3 SMKit7.02) id TAA26804 for ; Wed, 23 Jan 2002 19:18:06 +0100 (MET) Message-ID: <3C4EFDCC.A4A227F9@admin.france.hp.com> Date: Wed, 23 Jan 2002 19:15:40 +0100 From: Bruno Vidal MIME-Version: 1.0 To: "parisc-linux@lists.parisc-linux.org" Content-Type: multipart/mixed; boundary="------------A8C3EC0842E00ADB448949C5" Subject: [parisc-linux] Dump: pb with module_list Sender: parisc-linux-admin@lists.parisc-linux.org Errors-To: parisc-linux-admin@lists.parisc-linux.org List-Help: List-Post: List-Subscribe: , List-Id: parisc-linux developers list List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. --------------A8C3EC0842E00ADB448949C5 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi There is something I don't understand (and I really dont like to not understand). I didn't have any pb with utsname. But now I want to retrieve the loaded modules at dump time. In order to do that, I wrote a very simple loop (it is based on find_module function). It is based on the pointer "module_list". this is define in linux/module.h as: extern struct module *module_list; Because I don't want to modify kernel/module.c I've put my function in my dump_base.c (it already include linux/module.h). It compile right, but when using depmod, insmod, etc...: dump.o: unresolved symbol module_list I've already recompile the entire kernel, make dep, etc... I'm probably missing something, but what ???? thanks. -- Vidal Bruno, (770-4271) SSD-HA Team, HP-UX & LINUX Support bruno_vidal@admin.france.hp.com --------------A8C3EC0842E00ADB448949C5 Content-Type: text/x-vcard; charset=iso-8859-1; name="bruno_vidal.vcf" Content-Transfer-Encoding: base64 Content-Description: Card for Bruno Vidal Content-Disposition: attachment; filename="bruno_vidal.vcf" YmVnaW46dmNhcmQgCm46QnJ1bm87VklEQUwKdGVsO2ZheDowMS02OS04Mi02MC0xNAp0ZWw7 d29yazowMS02OS0yOS00Mi03MQp4LW1vemlsbGEtaHRtbDpUUlVFCnVybDp3d3cuZnJhbmNl LmhwLmNvbQpvcmc6U29sdXRpb24gQ2VudGVyCnZlcnNpb246Mi4xCmVtYWlsO2ludGVybmV0 OmJydW5vX3ZpZGFsQGhwLmNvbQp0aXRsZTpFeHBlcnQgTG9naWNpZWwgRW52aXJvbm5lbWVu dCBIYXV0ZSBEaXNwb25pYmlsaXTpCmFkcjtxdW90ZWQtcHJpbnRhYmxlOjs7SFAgRnJhbmNl PTBEPTBBO1ouQSBkZSBDb3VydGFib2V1ZjsxIEF2LiBkdSBDYW5hZGE7OTE5NDcgTGVzIFVs aXMgY2VkZXg7RnJhbmNlCngtbW96aWxsYS1jcHQ6OzI2MjA4CmZuOlZJREFMIEJydW5vCmVu ZDp2Y2FyZAo= --------------A8C3EC0842E00ADB448949C5--