Date: Wed, 18 Apr 2001 13:02:15 -0700 From: Simon Walton <simonw@lucent.com> To: Greg Smith <gregsmith59@hotmail.com> Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Modem on laptop... Message-ID: <3ADDF2C7.33D2B4CD@lucent.com> References: <F708olkDTM9wGmAf0Mj0000689a@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Greg Smith wrote: > > Simon, > > > I did this port a little while ago and it seems to work ok > >on my 600E. IBM have just posted my version of the source on their > >web site alongside the linux version: > > I tried the following on my 4.1-Release system (including kernel sources) > running on a TP600: > > pkg_add gettext-0.10.35.tgz > pkg_add gmake-3.79.1.tgz > rehash > tar xzf mwavem-fbsd-1.0.tgz > cd mwavem-fbsd-1.0 > gmake > > and got the following output: > > rm -f mwavem *.o > > cd drivers; gmake > gmake[1]: Entering directory `/usr/ports/distfiles/mwavem-fbsd-1.0/drivers' > cc -D_KERNEL -DKLD_MODULE -Wall -Wstrict-prototypes -fno-strict-aliasing > -mpreferred-stack-boundary=2 -I- -I/sys -I/usr/include -I. -c -o mwave.o > mwave.c > mwave.c: In function `mwave_ioctl': > mwave.c:288: warning: unsigned int format, u_long arg (arg 2) > mwave.c: At top level: > mwave.c:510: syntax error before `1' > mwave.c:510: warning: type defaults to `int' in declaration of > `MODULE_VERSION' > mwave.c:510: warning: function declaration isn't a prototype > mwave.c:510: warning: data definition has no type or storage class > 3780i.h:326: warning: `PaceMsaAccess' declared `static' but never defined > 3780i.h:329: warning: `dsp3780I_WriteGenCfg' declared `static' but never > defined > 3780i.h:330: warning: `dsp3780I_ReadGenCfg' declared `static' but never > defined > tp3780i.h:91: warning: `Cleanup' declared `static' but never defined > mwavedd.h:54: warning: `debug' defined but not used > gmake[1]: *** [mwave.o] Error 1 > gmake[1]: Leaving directory `/usr/ports/distfiles/mwavem-fbsd-1.0/drivers' > gmake: *** [drivers] Error 2 > > Is it something I did, or didn't do? Wow, looks like a problem with the MODULE_VERSION macro. I use fbsd 4.1.1, so maybe that changed between 4.1 and 4.1.1. I'll try and look into it. The other warnings are normal (!). Simon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ADDF2C7.33D2B4CD>