At Thu, 10 Jan 2002 17:35:00 -0800, Mike Smith wrote: > In order to deal with this problem, I have changed the module build > process so that symbols global to the module are converted to local > symbols when the module is linked into the .kld/,ko file. In order > to allow modules that intentionally export symbols to continue to do > so, a new module makefile variable 'EXPORT_SYMS' has been implemented.
Hi Mike, I don' think EXPORT_SYMS works right. EXPORT_SYMS= fw_asybusy \ fw_asyreq \ fw_bindadd \ getcsrdata \ fw_xfer_alloc \ fw_xfer_free \ By this configuration, /sys/conf/kmod.mk generates space separated list to export_syms like this: fw_asybusy fw_asyreq fw_bindadd getcsrdata fw_xfer_alloc fw_xfer_free But /sys/conf/kmod_syms.awk expects 'line break' separated list. And we cannot export any symbols. For example, Remove ppbus/plip/lpt/ppi/ppc from you kernel config. Can you load ppbus and it's childen by kldload? Even if this problem is fixed, I suppose another problem there. Even if I set EXPORT_SYMS=YES, I cannot resolv module symbols. e.g. kldload module1 kldload module2 module2 cannnot resolv symbols in module1. -stable doesn't have this problem. /\ Hidetoshi Shimokawa \/ [EMAIL PROTECTED] PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message