From owner-freebsd-mobile Wed Apr 18 13: 3:30 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from drawbridge.ascend.com (drawbridge.ascend.com [198.4.92.1]) by hub.freebsd.org (Postfix) with ESMTP id 1550837B424 for ; Wed, 18 Apr 2001 13:03:27 -0700 (PDT) (envelope-from simonw@lucent.com) Received: from fw-ext.ascend.com (fw-ext [198.4.92.5]) by drawbridge.ascend.com (8.9.1a/8.9.1) with SMTP id NAA13628; Wed, 18 Apr 2001 13:01:58 -0700 (PDT) Received: from russet.ascend.com by fw-ext.ascend.com via smtpd (for drawbridge.ascend.com [198.4.92.1]) with SMTP; 18 Apr 2001 20:02:16 UT Received: from wopr.eng.ascend.com (wopr.eng.ascend.com [206.65.212.178]) by russet.ascend.com (8.9.1a/8.9.1) with ESMTP id NAA24647; Wed, 18 Apr 2001 13:02:15 -0700 (PDT) Received: from simonw-sun (simonw-sun.eng.ascend.com [135.140.26.74]) by wopr.eng.ascend.com (8.9.1/8.9.1) with ESMTP id NAA03269; Wed, 18 Apr 2001 13:02:15 -0700 (PDT) Received: from eng.ascend.com by eng.ascend.com Message-ID: <3ADDF2C7.33D2B4CD@lucent.com> Date: Wed, 18 Apr 2001 13:02:15 -0700 From: Simon Walton X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.6 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: Greg Smith Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Modem on laptop... References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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