Menu

#39 Another build failure on mac os x

open
nobody
None
5
2008-02-07
2008-02-07
Ed
No

Unpack the tar archive do ./configure --without-xbase-locking

the make fails with:

rm -f .libs/xbcdx.lo
g++ -DHAVE_CONFIG_H -I. -I. -I. -I/Volumes/Data/devel/xbase64-3.1.2 -g -O2 -c xbcdx.cpp -MT xbcdx.lo -MD -MP -MF .deps/xbcdx.TPlo -fno-common -DPIC -o .libs/xbcdx.lo
In file included from /Volumes/Data/devel/xbase64-3.1.2/xbase64/xbase64.h:121,
from xbmindex.h:4,
from xbcdx.h:4,
from xbcdx.cpp:2:
/Volumes/Data/devel/xbase64-3.1.2/xbase64/xbtypes.h:93:1: warning: "_ftell" redefined
In file included from xbcdx.cpp:1:
xbtypes.h:97:1: warning: this is the location of the previous definition
In file included from /Volumes/Data/devel/xbase64-3.1.2/xbase64/xbase64.h:121,
from xbmindex.h:4,
from xbcdx.h:4,
from xbcdx.cpp:2:
/Volumes/Data/devel/xbase64-3.1.2/xbase64/xbtypes.h:94:1: warning: "_fseek" redefined
In file included from xbcdx.cpp:1:
xbtypes.h:98:1: warning: this is the location of the previous definition
/Volumes/Data/devel/xbase64-3.1.2/xbase64/xbtypes.h:95: error: conflicting declaration 'typedef off_t xbOffT'
xbtypes.h:99: error: 'xbOffT' has a previous declaration as 'typedef long int xbOffT'
/Volumes/Data/devel/xbase64-3.1.2/xbase64/xbtypes.h:95: error: conflicting declaration 'typedef off_t xbOffT'
xbtypes.h:99: error: 'xbOffT' has a previous declaration as 'typedef long int xbOffT'
/Volumes/Data/devel/xbase64-3.1.2/xbase64/xbtypes.h:95: error: conflicting declaration 'typedef off_t xbOffT'
xbtypes.h:99: error: 'xbOffT' has a previous declaration as 'typedef long int xbOffT'
make[2]: *** [xbcdx.lo] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

Discussion

  • Ed

    Ed - 2008-02-07

    Logged In: YES
    user_id=519050
    Originator: YES

    The fix for this is:

    In xbtypes.h the final few lines for 64 bit file processing should precede the final #endif, not as at present follow it. I.e. move the final #endif to be the last line of the file.

     
  • Ed

    Ed - 2008-02-07

    Logged In: YES
    user_id=519050
    Originator: YES

    The fix for this is:

    In xbtypes.h the final few lines for 64 bit file processing should precede the final #endif, not as at present follow it. I.e. move the final #endif to be the last line of the file.

     

Log in to post a comment.