Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Jul 1996 06:43:14 -0500
From:      steve farrell <spfarrel@midway.uchicago.edu>
To:        freebsd-stable@freebsd.org
Subject:   undefined symbol
Message-ID:  <199607061143.GAA07782@meno.uchicago.edu>

next in thread | raw e-mail | index | archive | help
got this when i tried to build a kernel supped today:

ioconf.o: Undefined symbol `_psmi' referenced from data segment
*** Error code 1

the problem is resolved by modifying ioconf.c in the compile dir like:

-extern struct isa_driver psmdriver; inthand2_t psmi;
+extern struct isa_driver psmdriver; inthand2_t psmintr;
 
-{  8, &psmdriver,   IO_KBD, IRQ12, -1, C 0x00000,     0,     psmi,   0, 0x0000, 0, 0, 0, 0, 1,  1, 0 },
+{  8, &psmdriver,   IO_KBD, IRQ12, -1, C 0x00000,     0,     psmintr,   0, 0x0000, 0, 0, 0, 0, 1,  1, 0 },

but, of course, ioconf.c is generated so this doesn't really fix the
problem.  i grepped through everything and couldn't find the right place
to fix this, but i'm sure someone reading this knows exactly where to go...

(could you point me to that so i can simply provide a patch for this sort
of thing in the future?)

-steve




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607061143.GAA07782>