[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

findutils-4.1.20: problems on *BSD systems

From: Nelson H. F. Beebe
Subject: findutils-4.1.20: problems on *BSD systems
Date: Thu, 9 Dec 2004 07:13:56 -0700 (MST)

findutils-4.1.20 fails to build on these BSD systems:

        FreeBSD 4.4
        FreeBSD 5.0
        NetBSD 1.6
        OpenBSD 3.2

(all on IA-32 hardware).  I configure and build like this:

        env CC=gcc CXX=g++ LDFLAGS=-Wl,-rpath,/usr/local/lib ./configure
        make all check

FreeBSD and NetBSD builds fail like this:

        gcc  -g -O2  -Wl,-rpath,/usr/local/lib -o find  find.o fstype.o 
parser.o pred.o tree.o util.o version.o ../lib/libfind.a 
../gnulib/lib/libgnulib.a -lintl
        fstype.o: In function `filesystem_type':
        /local/build/findutils-4.1.20/find/fstype.c:349: undefined reference to 

OpenBSD fails like this:

        gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../gnulib/lib -I../lib 
-I../gnulib/lib -I../intl -DLOCALEDIR=\"/usr/local/share/locale\"    -g -O2 -c 
`test -f
        'fstype.c' || echo './'`fstype.c
        fstype.c: In function `filesystem_type_uncached':
        fstype.c:349: error: structure has no member named `f_type'
        fstype.c:349: warning: assignment makes pointer from integer without a 

The problems appears to be peculiar to BSD: I got successful builds of
findutils-4.1.20 on these platforms:

        Apple PowerPC G3 267MHz GNU/Linux 2.4.19-4a (Yellow Dog Linux release 
2.3 (Dayton))
        Apple PowerPC G4 1.4GHz Darwin 7.3.0 (MacOS 10.3.2 (7D26))
        Compaq Alpha Sierra     OSF/1 5.1
        Compaq/DEC Alpha        OSF/1 4.0F
        DEC Alpha               GNU/Linux 2.4.19-xfs-gentoo-cd (Gentoo Base 
System version 1.4.16)
        HP/Intel IA-64          GNU/Linux 2.2.17-14smp (Red Hat 6.2) [via HP 
NUE emulator on IA-32]
        IBM PowerPC             AIX 4.2
        Intel Itanium-2         GNU/Linux Red Hat Linux Advanced Server release 
2.1AS (Derry)
        Intel Pentium III       GNU/Linux 2.4.20-28.8smp (Red Hat 8.0 (Psyche))
        Intel Pentium III       GNU/Linux 2.4.21-20.ELsmp (Red Hat Enterprise 
Linux WS release 3 (Taroon Update 3))
        Intel Pentium III       Solaris 9 x86
        SGI Indy-200            GNU/Linux Gentoo 1.4.16
        SGI Origin 200          IRIX 6.5
        Sun SPARC               GNU/Linux 2.4.26-sparc-r2 (Gentoo 1.4.16)
        Sun SPARC               Solaris 2.7
        Sun SPARC               Solaris 2.8
        Sun SPARC               Solaris 2.9

- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: address@hidden  -
- 155 S 1400 E RM 233                       address@hidden  address@hidden -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe  -

reply via email to

[Prev in Thread] Current Thread [Next in Thread]