hi,

przemek, i'm having a build failure with sunpro/linux. i've went quite 
outside my comfort zone by installing centos 5.5 (centos 5 is 
explicitly supported by studio 12u1) i386 (just in case, the "no 
surprises" fallback). c mode builds but doesn't work (we've been there 
already), but now cpp mode doesn't even build.

! Building Harbour 2.1.0beta1 from source - http://www.harbour-project.org
! MAKE: make 3.81 /bin/sh   
! HB_BUILD_MODE: cpp
! HB_HOST_PLAT: linux (x86)  HB_SHELL: sh
! HB_PLATFORM: linux (x86) (autodetected)
! HB_COMPILER: sunpro (autodetected: /opt/sunstudio12.1/bin/)
! HB_HOST_PKGM: rpm
! Component: 'zlib' found in /usr/include 
! Component: 'pcre' found in /usr/include 
! Component: 'openssl' found in /usr/include 
! Component: 'gpm' found in /usr/include 
! Component: 'slang' found in /usr/include/slang 
! Component: 'curses' found in /usr/include 
! Component: 'x11' found in /usr/include 
! Component: 'wattcp/watt-32' not supported on linux platform
! HB_INSTALL_PREFIX automatically set to: /usr/local
[...]
sunCC   -I. -I../../../../../include -fast -xnolibmopt  -erroff=%none 
  -DHB_LEGACY_TYPES_OFF  -DHB_HAS_PCRE -I/usr/include -DHB_HAS_ZLIB 
  -I/usr/include  -o filebuf.o  -c ../../../filebuf.c
"../../../filebuf.c", line 342: Error: Cannot cast from __u_quad_t to unsigned 
long.
"../../../filebuf.c", line 386: Error: Cannot cast from __u_quad_t to unsigned 
long.

this is referring to statbuf.st_dev, which indeed is ull, but sunpro 
doesn't override this anywhere, so it's ull with other compilers too, 
where it works fine.

could you take a quick look at it sometime?

thanks,

-- 
[-]

mkdir /nonexistent
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to