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

Re: OpenBSD 3.3-current and i4b experiment



begin  electrogrammati illius Robert Porl

>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.

You can do that afterwards. Use GENERIC for testing.

>> >- --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()

Thanks :)

>ioconf.o(.data+0x480): undefined reference to `isic_cd'

you miss an isic, or maybe a define.

>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'

you miss an option, most likely PPP_COMPRESS or something like that.

>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 .

Try it with GENERIC first, then we will hunt it down.

//Thorsten
-- 
Willst Du wegen dummer User immer 'Ja, ich will' nach einem rm an /dev/tty
eingeben müssen?		-- Bodo Eggert in de.alt.sysadmin.recovery