[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OpenBSD 3.3-current and i4b experiment



On Thu, 15 May 2003, Thorsten Glaser wrote:

> >I configured the kernel with the following Kernel config file:
> Why not just use GENERIC?

Because i want an optimized, small-size kernel for this machine,
i need an initial ramdisk and the mitsumi driver, which is
(by default) disabled in GENERIC.

> >- --CUT--
> >#pseudo-device	isdntrc		2 # userland driver to do ISDN tracing
>  ^
> This one is most likely your problem. Both I4B and NetBSD
> tell you that removing any options is not supported at all.
> >#pseudo-device	ippp		2 # synchronous PPP over ISDN
>  ^ this one as well
> >- --CUT--

Ok, i un-commented both of this lines (so i now have the same set
of i4b options as in MirBSD's GENERIC). When i recompile, i now get
the following errors:

<...>
ld -Ttext 0xD0100120 -e start -N -x -o bsd ${SYSTEM_OBJ} vers.o
i4b_isppp.o: In function `ipppattach':
i4b_isppp.o(.text+0x4a): warning: sprintf() is often misused, please use 
snprintf()
ioconf.o(.data+0x480): undefined reference to `isic_cd'
i4b_ipr.o: In function `iripattach':
i4b_ipr.o(.text+0x159): undefined reference to `sl_compress_init'
i4b_ipr.o: In function `ipr_rx_data_rdy':
i4b_ipr.o(.text+0xc34): undefined reference to `sl_uncompress_tcp'
i4b_ipr.o(.text+0xc68): undefined reference to `sl_uncompress_tcp'
i4b_ipr.o: In function `ipr_tx_queue_empty':
i4b_ipr.o(.text+0xe54): undefined reference to `sl_compress_tcp'
*** Error code 1

I guess i could get rid of the errors in i4b_ipr.o by disabling VC 
compression again, and the warning message could be ignored if i
removed "-Werror" from the Makefile. This just leaves the
undefined reference to isic_cd in ioconf.o .

Can you tell me what is wrong here ? I'd REALLY appreciate to get
it to work with a custom kernel config, but if the only solution
is to use a (slightly adjusted) GENERIC, i can live with that.

Thank you,

-Robert

--

"They that can give up essential liberty
 to obtain a little temporary safety
 won't have, nor do they deserve, either one."
		
			-Benjamin Franklin