make 3.4.0 osol11 cdefs.h

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

 



Hallo,

I tried to compile 3.4.0beta2 on opensolaris (snv_151) (gcc-3/gcc-4)
I received following error:
  glfs.h:41:23: sys/cdefs.h: No such file or directory

my investigation:
- cdefs.h was not required on 3.3.1
- cdefs.h not installed on opensolaris
- cdefs.h seen not included into any available packages (test5)


Howto fix this issue? (without install another version)

regards Heiko


background: 3.3.1 compiled succesfull on osol11, but have problems with mount nfs.
details:
--------------------------------------------------------------
- test4 3.4.0 patch1.u_int

gfsver=3.4.0beta2
[ "$gfsver" = "3.4.0beta2" ] && cat $dldir/130526.glusterfs-3.4.0.patch1.u_int | patch -p1
CFLAGS=-m64 ./configure | tee configure.out
gmake clean
time gmake 2>&1 | tee make.out

# time gmake 2>&1 | tee make.out
...
../../libglusterfs/src/common-utils.h:33:1: warning: "TMP_MAX" redefined
In file included from /usr/include/stdio.h:81,
                 from glfs.c:32:
/usr/include/iso/stdio_iso.h:158:1: warning: this is the location of the previous definition
In file included from glfs.c:52:
glfs.h:41:23: error: sys/cdefs.h: No such file or directory
In file included from glfs.c:52:
glfs.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'struct'
In file included from glfs.c:53:
glfs-internal.h:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'struct'
gmake[3]: *** [libgfapi_la-glfs.lo] Error 1
gmake[2]: *** [all-recursive] Error 1

--------------------------------------------------------------
- test5 search cdefs.h

# pkg contents -r $pkglist | grep include | grep cdefs.h

 -> 130526.osol.pkg_search_content_remote

   -> result: found=0
--------------------------------------------------------------





[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux