|
|
|
Re: symbols _are in vmlinux but missing in running kernel (from zImage) | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
|
Michael Grigoni wrote:
Michael Grigoni wrote: > Greetings: > > In my port of 2.4.27-vrs1 with USAGI ipsec support (based on > RMK's 2.4.x patches and other local changes), the running > kernel is missing three necessary symbols needed by > 'esp4.o' and a few other modules; these symbols _are_ > in vmlinux
In building zImage, objcopy strips these symbols (and all others); the kernel's EXPORT_SYMBOL macro is needed to export them. For unknown reasons, they were missing from net/netsyms.c. Adding this block remedies the issue:+#if defined(CONFIG_INET_ESP) || defined(CONFIG_INET_ESP_MODULE) || defined(CONF
IG_INET6_ESP) || defined(CONFIG_INET6_ESP_MODULE) +EXPORT_SYMBOL_GPL(skb_cow_data); +EXPORT_SYMBOL_GPL(pskb_put); +EXPORT_SYMBOL_GPL(skb_to_sgvec); +#endif Regards, Michael Grigoni Cybertheque Museum ------------------------------------------------------------------- List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php
[Linux ARM] [Linux ARM MSM] [Linux ARM Kernel] [Fedora ARM] [IETF Annouce] [Security] [Bugtraq] [Linux] [Linux OMAP] [Linux MIPS] [ECOS] [Asterisk Internet PBX] [Linux API]
![]() |
![]() |