Date: Thu, 3 Mar 2005 17:45:57 -0300 From: Pablo Allietti <pablo@lacnic.net> To: Adam McMaster <adam@moosoft.net> Cc: Pablo Allietti <pablo@lacnic.net> Subject: Re: ndis problem Message-ID: <20050303204557.GA19380@omega.lacnic.net.uy> In-Reply-To: <d40473107f2541b7c300f76a42fd56e4@moosoft.net> References: <20050303171954.GA11503@omega.lacnic.net.uy> <d40473107f2541b7c300f76a42fd56e4@moosoft.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 03, 2005 at 05:04:00PM +0000, Adam McMaster wrote: > yep adam the problem is that . my ndis cont support USB. now i do a cvsup and download new ndis but now if_ndis no compile. can you help me_ this is the error sony# make Warning: Object directory not changed from original /usr/src/sys/modules/if_ndis cc -O -pipe -D_KERNEL -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:429: warning: type defaults to `int' in declaration of `ndis_create_sysctls' /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:429: warning: parameter names (without types) in function declaration /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:429: warning: redundant redeclaration of 'ndis_create_sysctls' @/compat/ndis/ndis_var.h:1537: warning: previous declaration of 'ndis_create_sysctls' was here /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:429: warning: data definition has no type or storage class /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:433: error: syntax error before "if" /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:96: warning: 'ndis_txeof' used but never defined /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:98: warning: 'ndis_rxeof' used but never defined /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:100: warning: 'ndis_linksts' used but never defined /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:101: warning: 'ndis_linksts_done' used but never defined /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:110: warning: 'ndis_intr' declared `static' but never defined /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:111: warning: 'ndis_intrtask' declared `static' but never defined /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:112: warning: 'ndis_tick' declared `static' but never defined /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:113: warning: 'ndis_ticktask' declared `static' but never defined /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:114: warning: 'ndis_start' declared `static' but never defined /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:115: warning: 'ndis_starttask' declared `static' but never defined /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:116: warning: 'ndis_ioctl' declared `static' but never defined /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:117: warning: 'ndis_wi_ioctl_get' declared `static' but never defined /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:118: warning: 'ndis_wi_ioctl_set' declared `static' but never defined /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:119: warning: 'ndis_80211_ioctl_get' declared `static' but never defined /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:120: warning: 'ndis_80211_ioctl_set' declared `static' but never defined /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:121: warning: 'ndis_init' declared `static' but never defined /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:122: warning: 'ndis_stop' declared `static' but never defined /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:123: warning: 'ndis_watchdog' declared `static' but never defined /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:124: warning: 'ndis_ifmedia_upd' declared `static' but never defined /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:125: warning: 'ndis_ifmedia_sts' declared `static' but never defined /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:126: warning: 'ndis_get_assoc' declared `static' but never defined /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:270: warning: 'ndis_set_offload' defined but not used /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:129: warning: 'ndis_getstate_80211' declared `static' but never defined /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:130: warning: 'ndis_setstate_80211' declared `static' but never defined /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:131: warning: 'ndis_media_status' declared `static' but never defined /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:196: warning: 'ndis_setmulti' defined but not used /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:135: warning: 'ndis_map_sclist' declared `static' but never defined > On 3 Mar 2005, at 17:19, Pablo Allietti wrote: > > >hi all me again. > > > >i have a problem with ndis in freebsd 5.3 > > > >i do > > > > > >sony# cd /usr/src/sys/modules/if_ndis/ > >sony# make clean > >rm -f /usr/src/sys/modules/if_ndis/export_syms if_ndis.ko if_ndis.kld > >if_ndis.o if_ndis_pci.o if_ndis_pccard.o @ machine symb.tmp tmp.o > >opt_bdg.h bus_if.h device_if.h card_if.h pci_if.h pccarddevs.h > > > > > >sony# ndiscvt -i /usr/win/CVS/rt2500usb.inf -s > >/usr/win/CVS/rt2500usb.sys -o ndis_driver_data.h > > > > > > > >sony# make > > > > > >make install > > > >sony# make load > >/sbin/kldload -v /usr/src/sys/modules/if_ndis/if_ndis.ko > >kldload: can't load /usr/src/sys/modules/if_ndis/if_ndis.ko: No such > >file or directory > >*** Error code 1 > > > >Stop in /usr/src/sys/modules/if_ndis. > > > > > >the file if_ndis.ko exist but i dont know why the message say not > >found. > >maybe a problem with windows drivers? any boby can help me. > > > >this drivers work under fedora with ndiswrapper. but in freebsd mmm i > >dont know what happend. > > > >thanks a lot.. > > > > > > > >-- > > > > > >Pablo Allietti > >LACNIC > >-------------- > > Have you tried just running "kldload if_ndis" manually? Also, did you > make sure to build and load /usr/src/sys/modules/ndis first? > > > -- > - Adam McMaster <adam@moosoft.net> > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" ---end quoted text--- -- Pablo Allietti LACNIC --------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050303204557.GA19380>