LINT Broken
With up-to-date sources: sh /work/src/sys/conf/newvers.sh LINT -DGPROF -DGPROF4 -DGUPROF cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I/work/src/sys -I/work/src/sys/dev -I/work/src/sys/contrib/dev/acpica -I/work/src/sys/contrib/ipfilter -I/work/src/sys/../include -DGPROF -DGPROF4 -DGUPROF -D_KERNEL -ffreestanding -include opt_global.h -fno-common -elf -malign-functions=4 -fno-builtin -mpreferred-stack-boundary=2 -pg -mprofiler-epilogue vers.c linking kernel uhci.o: In function `uhci_idone': uhci.o(.text+0x1330): undefined reference to `uhci_dump_ii' uhci.o: In function `uhci_device_isoc_done': uhci.o(.text+0x2fab): undefined reference to `uhci_dump_ii' *** Error code 1 Stop in /usr/obj/work/src/sys/LINT. *** Error code 1 Stop in /work/src. *** Error code 1 Stop in /work/src. Best regards, Mike Barcroft To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
LINT broken
LINT appears to be broken: cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I/work/src/sys -I/work/src/sys/dev -I/work/src/sys/contrib/dev/acpica -I/work/src/sys/contrib/ipfilter -I/work/src/sys/../include -DGPROF -DGPROF4 -DGUPROF -D_KERNEL -ffreestanding -include opt_global.h -elf -malign-functions=4 -fno-builtin -mpreferred-stack-boundary=2 -pg -mprofiler-epilogue /work/src/sys/dev/usb/uhci.c /work/src/sys/dev/usb/uhci.c: In function `uhci_dump_all': /work/src/sys/dev/usb/uhci.c:694: structure has no member named `hlink' /work/src/sys/dev/usb/uhci.c: At top level: /work/src/sys/dev/usb/uhci.c:1270: warning: `uhci_reset' defined but not used /work/src/sys/dev/usb/uhci.c:261: warning: `uhci_dump_ii' used but never defined *** Error code 1 Best regards, Mike Barcroft To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: LINT broken?
On Sun, Sep 09, 2001 at 09:01:50PM -0700, Kris Kennaway wrote: > Is anyone else seeing this? This was build failure of a -current LINT > under RELENG_4. As far as I can tell I'm up to date. Verified and fixed. Thanks, -- Marcel Moolenaar USPA: A-39004 [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: LINT broken?
On Sun, Sep 09, 2001 at 09:01:50PM -0700, Kris Kennaway wrote: > Is anyone else seeing this? This was build failure of a -current LINT > under RELENG_4. As far as I can tell I'm up to date. > > Kris > > cc -c -O -pipe -march=pentium -march=pentiumpro -Wall -Wredundant-decls >-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline >-Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../.. -I../../../dev >-I../../../contrib/dev/acpica -I../../../contrib/ipfilter -I../../../../include >-DGPROF -DGPROF4 -DGUPROF -D_KERNEL -include opt_global.h -elf -malign-functions=4 >-fno-builtin -mpreferred-stack-boundary=2 -pg -mprofiler-epilogue >../../../i386/linux/linux_sysvec.c > ../../../i386/linux/linux_sysvec.c: In function `linux_rt_sendsig': > ../../../i386/linux/linux_sysvec.c:223: `LINUX_SYS_linux_rt_sendsig' undeclared >(first use in this function) > ../../../i386/linux/linux_sysvec.c:223: (Each undeclared identifier is reported only >once > ../../../i386/linux/linux_sysvec.c:223: for each function it appears in.) > ../../../i386/linux/linux_sysvec.c: In function `linux_sendsig': > ../../../i386/linux/linux_sysvec.c:379: `LINUX_SYS_linux_sendsig' undeclared (first >use in this function) > *** Error code 1 > As you already know, I got this too, I think it was supposed to be fixed earlier today, but the cvsup problems of today might be hiding the update somewhere(just speculating). -- David W. Chapman Jr. [EMAIL PROTECTED] Raintree Network Services, Inc. [EMAIL PROTECTED] FreeBSD Committer To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
LINT broken?
Is anyone else seeing this? This was build failure of a -current LINT under RELENG_4. As far as I can tell I'm up to date. Kris cc -c -O -pipe -march=pentium -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../.. -I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter -I../../../../include -DGPROF -DGPROF4 -DGUPROF -D_KERNEL -include opt_global.h -elf -malign-functions=4 -fno-builtin -mpreferred-stack-boundary=2 -pg -mprofiler-epilogue ../../../i386/linux/linux_sysvec.c ../../../i386/linux/linux_sysvec.c: In function `linux_rt_sendsig': ../../../i386/linux/linux_sysvec.c:223: `LINUX_SYS_linux_rt_sendsig' undeclared (first use in this function) ../../../i386/linux/linux_sysvec.c:223: (Each undeclared identifier is reported only once ../../../i386/linux/linux_sysvec.c:223: for each function it appears in.) ../../../i386/linux/linux_sysvec.c: In function `linux_sendsig': ../../../i386/linux/linux_sysvec.c:379: `LINUX_SYS_linux_sendsig' undeclared (first use in this function) *** Error code 1 PGP signature
LINT broken
cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensio ns -ansi -nostdinc -I- -I. -I../.. -I../../../include -I../../contrib/dev/acpica/Subsystem/Include -DGPROF -D_KERNEL -include opt_global.h -elf - malign-functions=4 -fno-builtin -mpreferred-stack-boundary=2 -pg ../../dev/ichsmb/ichsmb_pci.c In file included from ../../dev/ichsmb/ichsmb_pci.c:63: ../../dev/ichsmb/ichsmb_var.h:67: field `mutex' has incomplete type *** Error code 1 -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
LINT broken...
Somebody killed "swihand_t" without cleaning up three drivers: otte# ./gsys swihand_t ./i386/isa/cy.c:static swihand_t siopoll; ./i386/isa/rc.c:static swihand_t rcpoll; ./pc98/pc98/sio.c:staticswihand_t siopoll; otte# cd /sys/i386/conf otte# make LINT `LINT' is up to date. otte# config LINT WARNING: Old PCI driver compatability shims present. WARNING: Old ISA driver compatability shims present. Don't forget to do a ``make depend'' Kernel build directory is ../../compile/LINT otte# cd ../../compile/LINT otte# make cy.o cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -DGPROF -D_KERNEL -include opt_global.h -elf -malign-functions=4 -fno-builtin -mpreferred-stack-boundary=2 -pg ../../i386/isa/cy.c ../../i386/isa/cy.c:338: syntax error before `cypoll' ../../i386/isa/cy.c:338: warning: type defaults to `int' in declaration of `cypoll' ../../i386/isa/cy.c:338: warning: data definition has no type or storage class [...] otte# make rc.o cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -DGPROF -D_KERNEL -include opt_global.h -elf -malign-functions=4 -fno-builtin -mpreferred-stack-boundary=2 -pg ../../i386/isa/rc.c ../../i386/isa/rc.c:187: syntax error before `rcpoll' ../../i386/isa/rc.c:187: warning: type defaults to `int' in declaration of `rcpoll' [...] -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: LINT broken. (in_cksum changes)
On Wed, May 10, 2000 at 01:49:51AM +0900, MIHIRA Yoshiro wrote: > >> > On Sun, 7 May 2000, Nick Hibma wrote: > >> > > >> > > > >> > > Is it only me that ever compiles LINT? The checksum changes went in a > >> > > few days ago. > >> > > > >> > > Please, people, when you move code around or change a function that is > >> > > used in more than a fixed set of files, compile LINT. If unsure, compile > >> > > LINT. It's an extra five minutes, but well worth it. > >> > > > >> > > linking kernel > >> > > fil.o: In function `fr_tcpsum': > >> > > fil.o(.text+0xf47): undefined reference to `in_cksum' > >> > > ip_fil.o: In function `send_reset': > >> > > ip_fil.o(.text+0xd7d): undefined reference to `in_cksum' > >> > > ip_fil.o: In function `ipfr_fastroute': > >> > > ip_fil.o(.text+0x10f1): undefined reference to `in_cksum' > >> > > ip_fil.o(.text+0x1316): undefined reference to `in_cksum' > >> > > ip_fil.o(.text+0x1380): undefined reference to `in_cksum' > >> > > ip_mroute.o(.text+0x19d6): more undefined references to `in_cksum' > >> > > follow > > I had same problem with below options: > > optionsIPFILTER#ipfilter support > optionsIPFILTER_LOG#ipfilter logging > optionsIPSEC #IP security > > I think this problem related to jlemon-san's commit. Yes, my abject apologies. I just committed Nick's fix to the tree to resolve this. -- Jonathan To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: LINT broken. (in_cksum changes)
>> > On Sun, 7 May 2000, Nick Hibma wrote: >> > >> > > >> > > Is it only me that ever compiles LINT? The checksum changes went in a >> > > few days ago. >> > > >> > > Please, people, when you move code around or change a function that is >> > > used in more than a fixed set of files, compile LINT. If unsure, compile >> > > LINT. It's an extra five minutes, but well worth it. >> > > >> > > linking kernel >> > > fil.o: In function `fr_tcpsum': >> > > fil.o(.text+0xf47): undefined reference to `in_cksum' >> > > ip_fil.o: In function `send_reset': >> > > ip_fil.o(.text+0xd7d): undefined reference to `in_cksum' >> > > ip_fil.o: In function `ipfr_fastroute': >> > > ip_fil.o(.text+0x10f1): undefined reference to `in_cksum' >> > > ip_fil.o(.text+0x1316): undefined reference to `in_cksum' >> > > ip_fil.o(.text+0x1380): undefined reference to `in_cksum' >> > > ip_mroute.o(.text+0x19d6): more undefined references to `in_cksum' >> > > follow I had same problem with below options: optionsIPFILTER#ipfilter support optionsIPFILTER_LOG#ipfilter logging optionsIPSEC #IP security I think this problem related to jlemon-san's commit. >jlemon 2000/05/06 11:18:33 PDT > > Modified files: >sys/alpha/alpha in_cksum.c >sys/alpha/includein_cksum.h >sys/i386/i386in_cksum.c >sys/i386/include in_cksum.h > Log: > Make in_cksum() a macro call to in_cksum_skip(), since it provides the > same functionality. Sharing code should help cache issues. > > Remove in_cksum_partial, since its not being used, and we now have > a way to compute partial checksums on mbuf chains. in_cksum function was removed and change into macro. --- in sys/i386/include/in_cksum.h #define in_cksum(m, len)in_cksum_skip(m, len, 0) --- It needs to some code to compile with those options... MIHIRA Yoshiro To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: LINT broken. (in_cksum changes)
Appart from that, ipf does not load as a kld anymore. And probably, not tried, the IPFILTER option in any kernel would break the build as well. Nick On Mon, 8 May 2000, Wes Morgan wrote: > I sent a note to the committer on these last night. LINT must need some > modification, because the error is also present in netinet6/ipsec.c. There > are some ifdef's around it that point to LINT needing some extra options. > > On Sun, 7 May 2000, Nick Hibma wrote: > > > > > Is it only me that ever compiles LINT? The checksum changes went in a > > few days ago. > > > > Please, people, when you move code around or change a function that is > > used in more than a fixed set of files, compile LINT. If unsure, compile > > LINT. It's an extra five minutes, but well worth it. > > > > linking kernel > > fil.o: In function `fr_tcpsum': > > fil.o(.text+0xf47): undefined reference to `in_cksum' > > ip_fil.o: In function `send_reset': > > ip_fil.o(.text+0xd7d): undefined reference to `in_cksum' > > ip_fil.o: In function `ipfr_fastroute': > > ip_fil.o(.text+0x10f1): undefined reference to `in_cksum' > > ip_fil.o(.text+0x1316): undefined reference to `in_cksum' > > ip_fil.o(.text+0x1380): undefined reference to `in_cksum' > > ip_mroute.o(.text+0x19d6): more undefined references to `in_cksum' > > follow > > > > > > I just couldn't be bothered to fix it. > > > > Nick > > -- > > [EMAIL PROTECTED] > > [EMAIL PROTECTED] USB project > > http://www.etla.net/~n_hibma/ > > > > > > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > > with "unsubscribe freebsd-current" in the body of the message > > > > -- >_ __ ___ ___ ___ ___ > Wesley N Morgan _ __ ___ | _ ) __| \ > [EMAIL PROTECTED] _ __ | _ \._ \ |) | > FreeBSD: The Power To Serve _ |___/___/___/ > Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread! > > > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-current" in the body of the message > -- [EMAIL PROTECTED] [EMAIL PROTECTED] USB project http://www.etla.net/~n_hibma/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: LINT broken. (in_cksum changes)
I sent a note to the committer on these last night. LINT must need some modification, because the error is also present in netinet6/ipsec.c. There are some ifdef's around it that point to LINT needing some extra options. On Sun, 7 May 2000, Nick Hibma wrote: > > Is it only me that ever compiles LINT? The checksum changes went in a > few days ago. > > Please, people, when you move code around or change a function that is > used in more than a fixed set of files, compile LINT. If unsure, compile > LINT. It's an extra five minutes, but well worth it. > > linking kernel > fil.o: In function `fr_tcpsum': > fil.o(.text+0xf47): undefined reference to `in_cksum' > ip_fil.o: In function `send_reset': > ip_fil.o(.text+0xd7d): undefined reference to `in_cksum' > ip_fil.o: In function `ipfr_fastroute': > ip_fil.o(.text+0x10f1): undefined reference to `in_cksum' > ip_fil.o(.text+0x1316): undefined reference to `in_cksum' > ip_fil.o(.text+0x1380): undefined reference to `in_cksum' > ip_mroute.o(.text+0x19d6): more undefined references to `in_cksum' > follow > > > I just couldn't be bothered to fix it. > > Nick > -- > [EMAIL PROTECTED] > [EMAIL PROTECTED] USB project > http://www.etla.net/~n_hibma/ > > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-current" in the body of the message > -- _ __ ___ ___ ___ ___ Wesley N Morgan _ __ ___ | _ ) __| \ [EMAIL PROTECTED] _ __ | _ \._ \ |) | FreeBSD: The Power To Serve _ |___/___/___/ Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread! To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
LINT broken. (in_cksum changes)
Is it only me that ever compiles LINT? The checksum changes went in a few days ago. Please, people, when you move code around or change a function that is used in more than a fixed set of files, compile LINT. If unsure, compile LINT. It's an extra five minutes, but well worth it. linking kernel fil.o: In function `fr_tcpsum': fil.o(.text+0xf47): undefined reference to `in_cksum' ip_fil.o: In function `send_reset': ip_fil.o(.text+0xd7d): undefined reference to `in_cksum' ip_fil.o: In function `ipfr_fastroute': ip_fil.o(.text+0x10f1): undefined reference to `in_cksum' ip_fil.o(.text+0x1316): undefined reference to `in_cksum' ip_fil.o(.text+0x1380): undefined reference to `in_cksum' ip_mroute.o(.text+0x19d6): more undefined references to `in_cksum' follow I just couldn't be bothered to fix it. Nick -- [EMAIL PROTECTED] [EMAIL PROTECTED] USB project http://www.etla.net/~n_hibma/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
/usr/bin/lint broken (with patch) and more (pkg_version)
Hi, lint: ---snip--- (156) netchild@ttyp2 > lint /usr/src/usr.bin/xlint/xlint/xlint.c xlint.c: cpp: Invalid option `-undef' (157) netchild@ttyp2 > which lint /usr/bin/lint (158) netchild@ttyp2 > gcc -v Using builtin specs. gcc version 2.95.2 19991024 (release) ---snip--- Patch attached. "pkg_version -c": ---snip--- # # apache-php3 # unknown in index # cd /usr/ports/print/afm make && pkg_delete -f apache-php3-1.3.6 make install ---snip--- Have a look at the "cd" line. Here's the reason why it cd's to print/afm: ---snip--- (164) netchild@ttyp2 > pkg_info -aI |grep -1 apache afm-1.0 Adobe Font Metrics. apache-php3-1.3.6 Apache http server with [...] ---snip--- Bye, Alexander. -- Speed kills. Slow infuriates. http://netchild.home.pages.de Alexander+Home @ Leidinger.net Key fingerprint = 7423 F3E6 3A7E B334 A9CC B10A 1F5F 130A A638 6E7E --- usr.bin/xlint/xlint/xlint.c_org Sat Dec 25 16:22:27 1999 +++ usr.bin/xlint/xlint/xlint.c Sat Dec 25 16:22:44 1999 @@ -321,7 +321,6 @@ libsrchpath = xcalloc(1, sizeof (char *)); appcstrg(&cppflags, "-lang-c"); - appcstrg(&cppflags, "-undef"); appcstrg(&cppflags, "-$"); appcstrg(&cppflags, "-C"); appcstrg(&cppflags, "-Wcomment");
Re: Lint broken in -current.
> Lint no longer works in -current as cpp seems to have lost the -undef > option. Yes, looking into `cpp' is on my list of things to do. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Lint broken in -current.
Lint no longer works in -current as cpp seems to have lost the -undef option. The option is still shown in the usage message and the man page, but the code seems to have gone walk about! David. 0:30:gonzo 92% uname -a FreeBSD gonzo.home 4.0-CURRENT FreeBSD 4.0-CURRENT #17: Sat Nov 20 13:35:22 GMT 1999 [EMAIL PROTECTED]:/usr/src/sys/compile/GONZO i386 0:30:gonzo 93% cpp --help | fgrep undef -Wundef Warn if an undefined macro is used by #if -Wno-undefDo not warn about testing undefined macros -gInclude #define and #undef directives in the output -u or -undef Do not predefine any macros 0:30:gonzo 94% cpp -undef cpp: Invalid option `-undef' 0:30:gonzo 95% cpp -u cpp: Invalid option `-u' To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: LINT broken!
> n file included from ../../ntfs/ntfs_vnops.c:66: > ../../ntfs/ntfs.h:29: warning: `DIAGNOSTIC' redefined > opt_global.h:13: warning: this is the location of the previous definition > cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual > -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include > -DKERNEL -DVM_STACK -include opt_global.h -elf ../../net/bridge.c > ../../net/bridge.c: In function `bdg_forward': > ../../net/bridge.c:530: `ip' undeclared (first use this function) > ../../net/bridge.c:530: (Each undeclared identifier is reported only once > ../../net/bridge.c:530: for each function it appears in.) i think it wasn't me :) it probably has to do with being included only when both IPFIREWALL and DUMMYNET are defined, but then used even when just IPFIREWALL is defined. At least this is how it is in 2.2.X don't know who last edited the file, but the fix should be fairly straightforward. cheers luigi To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message
LINT broken!
n file included from ../../ntfs/ntfs_vnops.c:66: ../../ntfs/ntfs.h:29: warning: `DIAGNOSTIC' redefined opt_global.h:13: warning: this is the location of the previous definition cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -DVM_STACK -include opt_global.h -elf ../../net/bridge.c ../../net/bridge.c: In function `bdg_forward': ../../net/bridge.c:530: `ip' undeclared (first use this function) ../../net/bridge.c:530: (Each undeclared identifier is reported only once ../../net/bridge.c:530: for each function it appears in.) *** Error code 1 -- Poul-Henning Kamp FreeBSD coreteam member p...@freebsd.org "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message