Current-Users archive

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

Re: Building -current/netbsd-5 on Solaris: warning for tools/file

On Fri, 31 Oct 2008, Hubert Feyrer wrote:
/usr/homes/feyrer/cvs/src-5/tools/file/../../dist/file/magic/magdir, 1: Warning: offset `\255\267^D' invalid

I'm still digging, but if someone's familiar with the file(1) sources maybe they can help me out here. What I'm currently looking at is the build output, which contains:

../config.h:203:1: warning: "_FILE_OFFSET_BITS" redefined
/usr/include/sys/feature_tests.h:188:1: warning: this is the location of the 
previous definition

Looking at the definition of _FILE_OFFSET_BITS, I wonder if the above error is caused by some bogus directory-scanning that's using wrong offsets:

../config.h line 203 has:
#define _FILE_OFFSET_BITS 64

/usr/include/sys/feature_tests.h line 188 has:
#define        _FILE_OFFSET_BITS       32

This is on a Solaris/x86 PC, no amd64/64bit platform. "uname -a" says:
SunOS vmwolaris 5.10 Generic_127128-11 i86pc i386 i86pc

 - Hubert

Home | Main Index | Thread Index | Old Index