nanogui: Error on compile Nxlib


Previous by date: 24 Feb 2008 11:24:51 -0000 FLNX 1.1.8, Vladimir Ananiev
Next by date: 24 Feb 2008 11:24:51 -0000 Transparent pixmap, nanogui.reliableembeddedsystems.com
Previous in thread:
Next in thread: 24 Feb 2008 11:24:51 -0000 Re: Error on compile Nxlib, Greg Haerr

Subject: Error on compile Nxlib
From: "Wu Yin" ####@####.####
Date: 24 Feb 2008 11:24:51 -0000
Message-Id: <6a998d480802240324m6941f7f9k61b42eb52fea5713@mail.gmail.com>

I modifed my Makefile, and the following is where I modifed:
MWIN=/home/nfs/microwindows/src
X11_INCLUDE=/usr/include
CC = gcc-3.3

And the following is the error infomation when I compiled Nxlib source.

*[nxlib-0.45]$ make*
gcc-3.3 -Wall -g -I/home/nfs/microwindows/src/include
-DX11_FONT_DIR1=\"/usr/lib/X11/fonts/100dpi\"
-DX11_FONT_DIR2=\"/usr/lib/X11/fonts/misc\"
-DX11_RGBTXT=\"/usr/lib/X11/rgb.txt\" -I. -fPIC -o Xrm.o -c Xrm.c
In file included from Xlcint.h:74,
                 from Xrm.c:55:
/usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include/varargs.h:4:2: #error "GCC no
longer implements <varargs.h>."
/usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include/varargs.h:5:2: #error "Revise
your code to use <stdarg.h>."
In file included from Xrm.c:55:
Xlcint.h:949: error: syntax error before "var"
Xlcint.h:954: error: syntax error before "var"
Xrm.c: In function `ReadInFile':
Xrm.c:1607: warning: implicit declaration of function `_XOpenFile'
make: *** [Xrm.o] Error 1

Can anyone tell me how to fix it.
-- 
----------------------------------------------

Previous by date: 24 Feb 2008 11:24:51 -0000 FLNX 1.1.8, Vladimir Ananiev
Next by date: 24 Feb 2008 11:24:51 -0000 Transparent pixmap, nanogui.reliableembeddedsystems.com
Previous in thread:
Next in thread: 24 Feb 2008 11:24:51 -0000 Re: Error on compile Nxlib, Greg Haerr


Powered by ezmlm-browse 0.20.