[parisc-linux] Dump: pb with module_list

Bruno Vidal bruno_vidal@hpfrcu03.france.hp.com
Wed, 23 Jan 2002 19:15:40 +0100


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--