Fwd: linux- 2.6.18-rc5-git6 drivers/char/pcmcia/synclink_cs.c:4225: undefined reference to `hdlc_open'

Paul Fulghum paulkf at microgate.com
Sat Sep 2 08:41:32 EDT 2006


Toralf Förster wrote:
> Might be the same issue as described here : http://bugzilla.kernel.org/show_bug.cgi?id=6465
> 
> The compile test of the attached .config failed :
> ...
> 
> drivers/built-in.o: In function `hdlcdev_open':
> drivers/char/pcmcia/synclink_cs.c:4225: undefined reference to `hdlc_open'
> drivers/char/pcmcia/synclink_cs.c:4225: undefined reference to `hdlc_open'
> drivers/built-in.o: In function `hdlcdev_close':
> drivers/char/pcmcia/synclink_cs.c:4286: undefined reference to `hdlc_close'
> drivers/built-in.o: In function `hdlcdev_ioctl':
> drivers/char/pcmcia/synclink_cs.c:4394: undefined reference to `hdlc_ioctl'
> drivers/built-in.o: In function `hdlcdev_init':
> drivers/char/pcmcia/synclink_cs.c:4485: undefined reference to `alloc_hdlcdev'
> drivers/built-in.o: In function `hdlcdev_exit':
> drivers/char/pcmcia/synclink_cs.c:4526: undefined reference to `unregister_hdlc_device'
> make: *** [.tmp_vmlinux1] Error 1

Yes, this is known. If the driver is built-in and
the generic HDLC is modularized, then this occurs.

Several working patches were submitted that fix
the problem, but there was never agreement among
different kernel developers about which was
aesthetically pleasing enough to be accepted.
So none were accepted.

As a practical matter it is not a problem, a properly
configured kernel will build. If I get time, I may
try resubmitting some patches again after 2.6.18 is released.

--
Paul



More information about the linux-pcmcia mailing list