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
    murray@builder.freebsdmall.com:/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.
rastislav.cerevka@wasec.sk
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
Smartmontools-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/smartmontools-support
--
Eduard Martinescu <martines@rochester.rr.com>