Compile error on Solaris/Openindiana

Bug #968560 reported by Sascha Curth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cuneiform for Linux
New
Undecided
Unassigned

Bug Description

When compiling on Openindiana with gcc 3.4.3 i get warnings about pragma push like this:

/var/tmp/cuneiform-linux-1.1.0/builddir# make
Scanning dependencies of target ccom
[ 0%] Building C object cuneiform_src/Kern/ccom/CMakeFiles/ccom.dir/src/ccom.c.o
In file included from /var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/hrk/ccom.h:70,
                 from /var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/ccom/src/ccom.c:61:
/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/hrk/ccomdefs.h:61: warning: #pragma pack(push[, id], <n>) is not supported on this target
/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/hrk/ccomdefs.h:163: warning: #pragma pack(pop[, id], <n>) is not supported on this target
[ 0%] Building C object cuneiform_src/Kern/ccom/CMakeFiles/ccom.dir/src/ccom_loc.c.o
In file included from /var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/hrk/ccom.h:70,
                 from /var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/ccom/src/ccom_loc.c:58:
/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/hrk/ccomdefs.h:61: warning: #pragma pack(push[, id], <n>) is not supported on this target
/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/hrk/ccomdefs.h:163: warning: #pragma pack(pop[, id], <n>) is not supported on this target

And the build fails at this point:

[ 29%] Building CXX object cuneiform_src/Kern/rbal/CMakeFiles/rbal.dir/src/statsearchbl.cpp.o
In file included from /var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/rbal/src/statsearchbl.cpp:81:
/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/hdebug/dpuma.h:80: warning: #pragma pack(push[, id], <n>) is not supported on this target
/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/hdebug/dpuma.h:490: warning: #pragma pack(pop[, id], <n>) is not supported on this target
In file included from /var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/hrk/cstr.h:70,
                 from /var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/rbal/src/statsearchbl.h:62,
                 from /var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/rbal/src/statsearchbl.cpp:82:
/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/hrk/ccomdefs.h:61: warning: #pragma pack(push[, id], <n>) is not supported on this target
/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/hrk/ccomdefs.h:163: warning: #pragma pack(pop[, id], <n>) is not supported on this target
In file included from /var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/hrk/cstr.h:71,
                 from /var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/rbal/src/statsearchbl.h:62,
                 from /var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/rbal/src/statsearchbl.cpp:82:
/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/hrk/cstrdefs.h:62: warning: #pragma pack(push[, id], <n>) is not supported on this target
/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/hrk/cstrdefs.h:433: warning: #pragma pack(pop[, id], <n>) is not supported on this target
/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/rbal/src/statsearchbl.cpp: In function `void stat_def_b3_b4(void*, CSTR_attr*, int16_t*, int16_t*, int16_t*, int16_t*)':
/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/rbal/src/statsearchbl.cpp:104: error: `malloc_usable_size' undeclared (first use this function)
/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/rbal/src/statsearchbl.cpp:104: error: (Each undeclared identifier is reported only once for each function it appears in.)
/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/rbal/src/statsearchbl.cpp: In function `void stat_def_b1_b2(void*, CSTR_attr*, int16_t*, int16_t*, int16_t*, int16_t*, int16_t*)':
/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/rbal/src/statsearchbl.cpp:1242: error: `malloc_usable_size' undeclared (first use this function)
/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/rbal/src/statsearchbl.cpp: In function `void stat_FormArrays(void*, int16_t, int16_t*, int16_t*)':
/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/rbal/src/statsearchbl.cpp:1427: error: `malloc_usable_size' undeclared (first use this function)
/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/rbal/src/statsearchbl.cpp: In function `Bool stat_FormCSTR_attrArray(int32_t, int32_t, CSTR_attr*)':
/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/rbal/src/statsearchbl.cpp:1589: error: `malloc_usable_size' undeclared (first use this function)
/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/rbal/src/statsearchbl.cpp: In function `int16_t stat_Mode_diff_b2_b1(int32_t, int16_t)':
/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/rbal/src/statsearchbl.cpp:1707: error: `malloc_usable_size' undeclared (first use this function)
/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/rbal/src/statsearchbl.cpp: In function `int16_t stat_Right_diff_from_max(int16_t*, int16_t)':
/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/rbal/src/statsearchbl.cpp:1763: error: `malloc_usable_size' undeclared (first use this function)
/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/rbal/src/statsearchbl.cpp: In function `int16_t stat_Mode_diff_b3_b4(int32_t, int16_t)':
/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/rbal/src/statsearchbl.cpp:1836: error: `malloc_usable_size' undeclared (first use this function)
/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/rbal/src/statsearchbl.cpp: In function `int16_t stat_Mode_diff_b2_b3(int32_t, int16_t, int16_t)':
/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/rbal/src/statsearchbl.cpp:1905: error: `malloc_usable_size' undeclared (first use this function)
*** Error code 1
The following command caused the error:
cd /var/tmp/cuneiform-linux-1.1.0/builddir/cuneiform_src/Kern/rbal && /usr/bin/c++ -D_USE_RVERLINE_ -D__RBAL__ -Drbal_EXPORTS -g -fPIC -I/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/include -I/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/h -I/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/hh -I/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/hhh -I/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/hdebug -I/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/hrk -I/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/hrkint -I/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/hrstr -I/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/fon/src -I/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/usage -I/var/tmp/cuneiform-linux-1.1.0/builddir/cuneiform_src/Kern/include -I/var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/rbal/src -o CMakeFiles/rbal.dir/src/statsearchbl.cpp.o -c /var/tmp/cuneiform-linux-1.1.0/cuneiform_src/Kern/rbal/src/statsearchbl.cpp
make: Fatal error: Command failed for target `cuneiform_src/Kern/rbal/CMakeFiles/rbal.dir/src/statsearchbl.cpp.o'
Current working directory /var/tmp/cuneiform-linux-1.1.0/builddir
*** Error code 1
The following command caused the error:
make -f cuneiform_src/Kern/rbal/CMakeFiles/rbal.dir/build.make cuneiform_src/Kern/rbal/CMakeFiles/rbal.dir/build
make: Fatal error: Command failed for target `cuneiform_src/Kern/rbal/CMakeFiles/rbal.dir/all'
Current working directory /var/tmp/cuneiform-linux-1.1.0/builddir
*** Error code 1
The following command caused the error:
make -f CMakeFiles/Makefile2 all
make: Fatal error: Command failed for target `all'

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.