From: Bruce A. <ba...@gr...> - 2004-02-18 20:53:22
|
A few minutes with Google found the following thread: http://www.geocrawler.com/mail/msg.php3?msg_id=10014652&list=151 which *might* be related. For that user, the solution was to compare these two files: /usr/src/include/glob.h /usr/include/glob.h But since I'm not a FreeBSD user, this might be the wrong place to look for trouble. And in any case, the fact that ATA drives are not supported in 4.x may also make this moot. Cheers, Bruce On Wed, 18 Feb 2004, Eduard Martinescu wrote: > Hi, > > I haven't seen these issue before...However, I would like to add a > couple of points... > > 1) There is a port of smartmontools in /usr/ports/sysutils/smartmontools > 2) ATA drives are NOT supported in 4.x FreeBSD, as the IOCTL interfaces > does NOT support sending the necessary commands to the devices. > > Sorry to be the bearer of bad news... > > As for the specific errors...the only ones of any concern are the ones > related to GLOB_ABORTED and GLOB_NOMATCH. > > We are making use of the 'glob()' function (section 3 man page). As I > do not have a 4.6 FreeBSD system available to test against, I do not > know if this is supported in 4.6. Looking at the file > /usr/include/glob.h on my machine, I see that the definitions are > protected by the following: > > #if __POSIX_VISIBLE >= 199209 > #endif > > Maybe 4.6 doesn't support this level of POSIX compliance? Or there is a > CFLAG missing? Sorry I'm not much help here. > > Ed > > On Wed, 2004-02-18 at 05:29, Cerevka Rastislav wrote: > > > Hellow, why is it? ;)) > > > > > > Make: > > l -W -c `test -f 'os_freebsd.c' || echo './'`os_freebsd.c > > os_freebsd.c: In function `deviceopen': > > os_freebsd.c:86: warning: unused parameter `mode' > > os_freebsd.c: In function `ata_command_interface': > > os_freebsd.c:212: warning: unused parameter `fd' > > os_freebsd.c:212: warning: unused parameter `command' > > os_freebsd.c:212: warning: unused parameter `select' > > os_freebsd.c:212: warning: unused parameter `data' > > os_freebsd.c: In function `do_scsi_cmnd_io': > > os_freebsd.c:391: warning: comparison between signed and unsigned > > os_freebsd.c: In function `escalade_command_interface': > > os_freebsd.c:479: warning: unused parameter `fd' > > os_freebsd.c:479: warning: unused parameter `disknum' > > os_freebsd.c:479: warning: unused parameter `command' > > os_freebsd.c:479: warning: unused parameter `select' > > os_freebsd.c:479: warning: unused parameter `data' > > os_freebsd.c: In function `get_ata_channel_unit': > > os_freebsd.c:485: warning: unused parameter `name' > > os_freebsd.c:485: warning: unused parameter `unit' > > os_freebsd.c:485: warning: unused parameter `dev' > > os_freebsd.c: In function `get_dev_names': > > os_freebsd.c:650: `GLOB_ABORTED' undeclared (first use in this function) > > os_freebsd.c:650: (Each undeclared identifier is reported only once > > os_freebsd.c:650: for each function it appears in.) > > os_freebsd.c:653: `GLOB_NOMATCH' undeclared (first use in this function) > > *** Error code 1 > > > > Stop in /usr/home/rasto/smartmontools-5.27. > > *** Error code 1 > > > > Stop in /usr/home/rasto/smartmontools-5.27. > > *** Error code 1 > > > > Stop in /usr/home/rasto/smartmontools-5.27. > > rasto@mars[/home/rasto/smartmontools-5.27]> > > > > Release: > > Copyright (c) 1992-2002 The FreeBSD Project. > > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > > The Regents of the University of California. All rights > > reserved. > > FreeBSD 4.6.2-RELEASE #0: Wed Aug 14 21:23:26 GMT 2002 > > mu...@bu...:/usr/src/sys/compile/GENERIC > > Timecounter "i8254" frequency 1193182 Hz > > CPU: Pentium III/Pentium III Xeon/Celeron (865.25-MHz 686-class CPU) > > Origin = "GenuineIntel" Id = 0x68a Stepping = 10 > > > > Features=0x387fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE, > > MCA,CMOV,PAT,PSE36,PN,MMX, > > FXSR,SSE> > > real memory = 402587648 (393152K bytes) > > avail memory = 386502656 (377444K bytes) > > Preloaded elf kernel "kernel" at 0xc04d0000. > > Pentium Pro MTRR support enabled > > > > > > > > -------------------------- > > Rastislav Cerevka > > Maintenance Engineer > > WASEC, spol.s r.o. > > ras...@wa... > > t.c.421904161842 > > > > > > ------------------------------------------------------- > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > > Build and deploy apps & Web services for Linux with > > a free DVD software kit from IBM. Click Now! > > http://ads.osdn.com/?ad_id56&alloc_id438&op=click > > _______________________________________________ > > Smartmontools-support mailing list > > Sma...@li... > > https://lists.sourceforge.net/lists/listinfo/smartmontools-support > > -- > Eduard Martinescu <mar...@ro...> > |