inttypes.h problems.

Kip Macy kmacy at fsmware.com
Tue Nov 18 17:03:34 PST 2003


Same basic problem is keeping the JDK from compiling, which in turn is
keeping open office from compiling.

<SNIP>
-c -o /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun/sun.awt.font/fontmanager/obj/FontWrapper.o
. ./../../src/share/native/sun/awt/font/FontWrapper.cpp
In file included from
. ./../../src/share/native/sun/awt/font/FontWrapper.cpp:16:
/usr/include/inttypes.h:42: syntax error before `imaxabs'
/usr/include/inttypes.h:43: syntax error before `;'
In file included from /usr/include/stdio.h:49,
                 from ../../../src/share/javavm/export/jni.h:21,
                 from
. ./../../src/share/native/sun/awt/font/FontGlue.h:14,
                 from
. ./../../src/share/native/sun/awt/font/FontWrapper.cpp:18:
/usr/include/machine/stdarg.h:47: syntax error before `typedef'
/usr/include/machine/stdarg.h:51: syntax error before `;'
In file included from ../../../src/share/javavm/export/jni.h:21,
                 from
. ./../../src/share/native/sun/awt/font/FontGlue.h:14,
                 from
. ./../../src/share/native/sun/awt/font/FontWrapper.cpp:18:
/usr/include/stdio.h:249: type specifier omitted for parameter
/usr/include/stdio.h:250: type specifier omitted for parameter
/usr/include/stdio.h:251: type specifier omitted for parameter
/usr/include/stdio.h:322: type specifier omitted for parameter


On Tue, 19 Nov 2003, Adam K Kirchhoff wrote:

> Me again :-)
>
> Building avifile:
>
> cc -DHAVE_CONFIG_H -I. -I. -I../../../include -DHAVE_AV_CONFIG_H -O
> -pipe -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -I./.. -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include
> -D_GETOPT_H -Wall -Wno-unused -I../../../include -fomit-frame-pointer
> -mno-omit-leaf-frame-pointer -O -pipe -D_THREAD_SAFE -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -pipe -c postprocess.c  -fPIC -DPIC -o
> .libs/postprocess.lo
> In file included from postprocess.c:71:
> /usr/include/inttypes.h:42: syntax error before `intmax_t'
> /usr/include/inttypes.h:42: syntax error before `__pure2'
> /usr/include/inttypes.h:43: syntax error before `__pure2'
> In file included from /usr/include/stdio.h:49,
>                  from postprocess.c:72:
> /usr/include/machine/stdarg.h:47: syntax error before `typedef'
> gmake[3]: *** [postprocess.lo] Error 1
>
> I've seen this with a few other ports as well :-(
>
> Adam
>
>





More information about the Kernel mailing list