Date: Wed, 18 Oct 2006 21:27:16 +0200 From: Marcus Franke <marcus.franke@gmx.net> To: freebsd-isdn@freebsd.org Subject: Re: adding isdn support into kernel drives me crazy Message-ID: <20061018192716.GB12417@beastie.marcus-franke.local> In-Reply-To: <200610181541.k9IFfENG008076@peedub.jennejohn.org> References: <marcus.franke@gmx.net> <20061018151558.GC1346@beastie.marcus-franke.local> <200610181541.k9IFfENG008076@peedub.jennejohn.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 18, 2006 at 05:41:14PM +0200, Gary Jennejohn wrote: > > Marcus Franke writes: > > So, I had a look in the handbook in the ISDN section and added the > > mentioned /usr/share/examples/isdn/KERNEL file to my kernel config > > file. Result is an: > > > > config: /usr/src/sys/i386/conf/BEASTIE:236: syntax error > > *** Error code 1 > > > > The example is totally out of date. Do cut&paste from NOTES. The syntax > is correct there. As an example: > > device i4bipr > options NI4BIPR=4 Ok, did a cut&paste job, kernel compiles, but does not link :( It stops with these error messages: linking kernel i4b_rbch.o(.text+0x2ce): In function `i4brbchread': : undefined reference to `i4b_Bfreembuf' i4b_rbch.o(.text+0x616): In function `i4brbchwrite': : undefined reference to `i4b_Bgetmbuf' i4b_tel.o(.text+0x51d): In function `i4btelread': : undefined reference to `i4b_Bfreembuf' i4b_tel.o(.text+0x718): In function `tel_tone': : undefined reference to `i4b_Bgetmbuf' i4b_tel.o(.text+0xa4b): In function `i4btelioctl': : undefined reference to `i4b_Bfreembuf' i4b_tel.o(.text+0xdab): In function `i4btelwrite': : undefined reference to `i4b_Bgetmbuf' i4b_ctl.o(.text+0x12b): In function `i4bctlioctl': : undefined reference to `i4b_l1_debug' i4b_ctl.o(.text+0x192): In function `i4bctlioctl': : undefined reference to `i4b_l1_debug' capi_l4if.o(.text+0x6d): In function `i4b_capi_bch_config': : undefined reference to `i4b_Bcleanifq' capi_l4if.o(.text+0x8a): In function `i4b_capi_bch_config': : undefined reference to `i4b_Bcleanifq' capi_l4if.o(.text+0xa9): In function `i4b_capi_bch_config': : undefined reference to `i4b_Bfreembuf' capi_llif.o(.text+0xcf): In function `capi_ll_receive': : undefined reference to `i4b_Dfreembuf' capi_llif.o(.text+0x124): In function `capi_ll_receive': : undefined reference to `i4b_Bfreembuf' capi_llif.o(.text+0x131): In function `capi_ll_receive': : undefined reference to `i4b_Dfreembuf' capi_msgs.o(.text+0xf): In function `capi_listen_req': : undefined reference to `i4b_Dgetmbuf' capi_msgs.o(.text+0x156): In function `capi_info_ind': : undefined reference to `i4b_Dgetmbuf' capi_msgs.o(.text+0x23f): In function `capi_alert_req': : undefined reference to `i4b_Dgetmbuf' capi_msgs.o(.text+0x35a): In function `capi_connect_req': : undefined reference to `i4b_Dgetmbuf' capi_msgs.o(.text+0x670): In function `capi_connect_b3_req': : undefined reference to `i4b_Dgetmbuf' capi_msgs.o(.text+0x740): more undefined references to `i4b_Dgetmbuf' follow iavc_lli.o(.text+0x43a): In function `iavc_receive': : undefined reference to `i4b_Bgetmbuf' iavc_lli.o(.text+0x4e8): In function `iavc_receive': : undefined reference to `i4b_Dfreembuf' iavc_lli.o(.text+0x844): In function `iavc_start_tx': : undefined reference to `i4b_Dfreembuf' iavc_lli.o(.text+0x99f): In function `iavc_start_tx': : undefined reference to `i4b_Bfreembuf' iavc_lli.o(.text+0xb39): In function `iavc_handle_rx': : undefined reference to `i4b_Dgetmbuf' iavc_lli.o(.text+0x1114): In function `iavc_send': : undefined reference to `i4b_Dfreembuf' iavc_lli.o(.text+0x111f): In function `iavc_send': : undefined reference to `i4b_Bfreembuf' iavc_lli.o(.text+0x1140): In function `iavc_send': : undefined reference to `i4b_Dfreembuf' iavc_lli.o(.text+0x1150): In function `iavc_send': : undefined reference to `i4b_Bfreembuf' iavc_lli.o(.text+0x116c): In function `iavc_release': : undefined reference to `i4b_Dgetmbuf' iavc_lli.o(.text+0x1204): In function `iavc_register': : undefined reference to `i4b_Dgetmbuf' iavc_lli.o(.text+0x1594): In function `iavc_load': : undefined reference to `i4b_Dgetmbuf' i4b_l2.o(.text+0xe6): In function `i4b_dl_data_req': : undefined reference to `i4b_Dfreembuf' i4b_l2.o(.text+0x1ef): In function `i4b_ph_activate_ind': : undefined reference to `i4b_l1_debug' i4b_l2.o(.text+0x23f): In function `i4b_ph_deactivate_ind': : undefined reference to `i4b_l1_debug' i4b_l2.o(.text+0x323): In function `i4b_l2_unit_init': : undefined reference to `i4b_Dfreembuf' i4b_l2.o(.text+0x369): In function `i4b_mph_status_ind': : undefined reference to `i4b_l1_debug' i4b_l2.o(.text+0x4f9): In function `i4b_mdl_command_req': : undefined reference to `i4b_l1l2_func' i4b_l2.o(.text+0x530): In function `i4b_mdl_command_req': : undefined reference to `i4b_l1l2_func' i4b_l2.o(.text+0x57d): In function `i4b_ph_data_ind': : undefined reference to `i4b_Dfreembuf' i4b_l2.o(.text+0x5b5): In function `i4b_ph_data_ind': : undefined reference to `i4b_Dfreembuf' i4b_l2fsm.o(.text+0x67d): In function `F_AE01': : undefined reference to `i4b_Dcleanifq' i4b_l2fsm.o(.text+0x6a6): In function `F_AE01': : undefined reference to `i4b_Dcleanifq' i4b_l2fsm.o(.text+0x6cd): In function `F_AE05': : undefined reference to `i4b_Dcleanifq' i4b_l2fsm.o(.text+0x71d): In function `F_AE06': : undefined reference to `i4b_Dcleanifq' i4b_l2fsm.o(.text+0x891): In function `F_AE09': : undefined reference to `i4b_Dcleanifq' i4b_l2fsm.o(.text+0x929): more undefined references to `i4b_Dcleanifq' follow i4b_uframe.o(.text+0x3d7): In function `i4b_build_u_frame': : undefined reference to `i4b_Dgetmbuf' i4b_uframe.o(.text+0x44e): In function `i4b_tx_sabme': : undefined reference to `i4b_l1l2_func' i4b_uframe.o(.text+0x481): In function `i4b_tx_sabme': : undefined reference to `i4b_l1l2_func' i4b_uframe.o(.text+0x4b6): In function `i4b_tx_dm': : undefined reference to `i4b_l1l2_func' i4b_uframe.o(.text+0x4e9): In function `i4b_tx_dm': : undefined reference to `i4b_l1l2_func' i4b_uframe.o(.text+0x51e): In function `i4b_tx_disc': : undefined reference to `i4b_l1l2_func' i4b_uframe.o(.text+0x551): more undefined references to `i4b_l1l2_func' follow i4b_uframe.o(.text+0xa9): In function `i4b_rxd_u_frame': : undefined reference to `i4b_Dfreembuf' i4b_uframe.o(.text+0x111): In function `i4b_rxd_u_frame': : undefined reference to `i4b_Dfreembuf' i4b_tei.o(.text+0x2d): In function `build_tei_mgmt_frame': : undefined reference to `i4b_Dgetmbuf' i4b_tei.o(.text+0x6f): In function `build_tei_mgmt_frame': : undefined reference to `i4b_Dfreembuf' i4b_tei.o(.text+0x137): In function `i4b_tei_chkresp': : undefined reference to `i4b_l1l2_func' i4b_tei.o(.text+0x478): In function `i4b_tei_verify': : undefined reference to `i4b_l1l2_func' i4b_tei.o(.text+0x4d4): In function `i4b_tei_assign': : undefined reference to `i4b_l1l2_func' i4b_tei.o(.text+0x1c1): In function `i4b_tei_rxframe': : undefined reference to `i4b_Dfreembuf' i4b_sframe.o(.text+0x167): In function `i4b_build_s_frame': : undefined reference to `i4b_Dgetmbuf' i4b_sframe.o(.text+0x1dc): In function `i4b_tx_rej_response': : undefined reference to `i4b_l1l2_func' i4b_sframe.o(.text+0x214): In function `i4b_tx_rej_response': : undefined reference to `i4b_l1l2_func' i4b_sframe.o(.text+0x248): In function `i4b_tx_rnr_response': : undefined reference to `i4b_l1l2_func' i4b_sframe.o(.text+0x280): In function `i4b_tx_rnr_response': : undefined reference to `i4b_l1l2_func' i4b_sframe.o(.text+0x2b4): In function `i4b_tx_rnr_command': : undefined reference to `i4b_l1l2_func' i4b_sframe.o(.text+0x2ec): more undefined references to `i4b_l1l2_func' follow i4b_sframe.o(.text+0x2d): In function `i4b_rxd_s_frame': : undefined reference to `i4b_Dfreembuf' i4b_iframe.o(.text+0x124): In function `i4b_rxd_i_frame': : undefined reference to `i4b_Dfreembuf' i4b_iframe.o(.text+0x14e): In function `i4b_rxd_i_frame': : undefined reference to `i4b_Dfreembuf' i4b_iframe.o(.text+0x187): In function `i4b_rxd_i_frame': : undefined reference to `i4b_Dfreembuf' i4b_iframe.o(.text+0x2c4): In function `i4b_i_frame_queued_up': : undefined reference to `i4b_l1l2_func' i4b_iframe.o(.text+0x2fa): In function `i4b_i_frame_queued_up': : undefined reference to `i4b_Dfreembuf' i4b_iframe.o(.text+0x36): In function `i4b_rxd_i_frame': : undefined reference to `i4b_Dfreembuf' i4b_util.o(.text+0x1e): In function `i4b_l1_activate': : undefined reference to `i4b_l1l2_func' i4b_util.o(.text+0x34): In function `i4b_clear_exception_conditions': : undefined reference to `i4b_Dcleanifq' i4b_util.o(.text+0x49): In function `i4b_clear_exception_conditions': : undefined reference to `i4b_Dfreembuf' i4b_util.o(.text+0x400): In function `i4b_rxd_ack': : undefined reference to `i4b_Dfreembuf' i4b_util.o(.text+0x42f): In function `i4b_rxd_ack': : undefined reference to `i4b_Dfreembuf' i4b_l2if.o(.text+0x54f): In function `i4b_dl_data_ind': : undefined reference to `i4b_Dfreembuf' i4b_l2if.o(.text+0x573): In function `i4b_dl_unit_data_ind': : undefined reference to `i4b_Dfreembuf' i4b_l2if.o(.text+0x595): In function `i4b_l3_tx_connect': : undefined reference to `i4b_Dgetmbuf' i4b_l2if.o(.text+0x63e): In function `i4b_l3_tx_release_complete': : undefined reference to `i4b_Dgetmbuf' i4b_l2if.o(.text+0x761): In function `i4b_l3_tx_disconnect': : undefined reference to `i4b_Dgetmbuf' i4b_l2if.o(.text+0x8be): In function `i4b_l3_tx_setup': : undefined reference to `i4b_Dgetmbuf' i4b_l2if.o(.text+0xb29): In function `i4b_l3_tx_connect_ack': : undefined reference to `i4b_Dgetmbuf' i4b_l2if.o(.text+0xbc8): more undefined references to `i4b_Dgetmbuf' follow i4b_i4bdrv.o(.text+0xf8): In function `i4bclose': : undefined reference to `i4b_Dcleanifq' i4b_i4bdrv.o(.text+0x1e9): In function `i4bread': : undefined reference to `i4b_Dfreembuf' i4b_i4bdrv.o(.text+0xd7b): In function `i4bputqueue': : undefined reference to `i4b_Dfreembuf' i4b_i4bdrv.o(.text+0xef7): In function `i4bputqueue_hipri': : undefined reference to `i4b_Dfreembuf' i4b_i4bdrv.o(.text+0xdfd): In function `i4bputqueue': : undefined reference to `i4b_Dfreembuf' i4b_i4bdrv.o(.text+0xf7d): In function `i4bputqueue_hipri': : undefined reference to `i4b_Dfreembuf' i4b_l4.o(.text+0x12f): In function `i4b_l4_pdeact': : undefined reference to `i4b_Dgetmbuf' i4b_l4.o(.text+0x1aa): In function `i4b_l4_l12stat': : undefined reference to `i4b_Dgetmbuf' i4b_l4.o(.text+0x1ee): In function `i4b_l4_teiasg': : undefined reference to `i4b_Dgetmbuf' i4b_l4.o(.text+0x23e): In function `i4b_l4_dialout': : undefined reference to `i4b_Dgetmbuf' i4b_l4.o(.text+0x292): In function `i4b_l4_dialoutnumber': : undefined reference to `i4b_Dgetmbuf' i4b_l4.o(.text+0x38e): more undefined references to `i4b_Dgetmbuf' follow *** Error code 1 Stop in /usr/obj/usr/src/sys/BEASTIE. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. I used these configs for the make kernel run: # AVM B1/T1 device i4bcapi device iavc # protocol stack device i4bq921 device i4bq931 device i4b # control devices device i4bctl device i4brbch options NI4BRBCH=4 device i4btel options NI4BTEL=2 # IP over raw HDLC device i4bipr options NI4BIPR=4 options IPR_VJ # kernel sppp/isppp device i4bisppp options NI4BISPPP=4 Sorry, am puzzled again :( Do I have something wrong in my kernel config? Where does the missing symbol result from? Marcus
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061018192716.GB12417>