Hi,
You might have forgotten to run RosBE firstly.
On 21:33 Sat 16 Jan , Evans Jahja wrote:
Hi, I'm trying to compile React OS. (This time I
use gcc version 4.3.4 20090804 (release) 1 (GCC) )
However, when compiling it returns:
[CC] base/applications/screensavers/3dtext/3dtext.c
In file included from include/psdk/windows.h:40,
from base/applications/screensavers/3dtext/3dtext.c:21:
include/crt/stdarg.h:34:2: error: #error Only Win32 target is supported!
In file included from include/crt/stdarg.h:147,
from include/psdk/windows.h:40,
from base/applications/screensavers/3dtext/3dtext.c:21:
include/crt/vadefs.h:10:2: error: #error Only Win32 target is supported!
cc1: warnings being treated as errors
In file included from include/psdk/winnt.h:48,
from include/psdk/windef.h:339,
from include/psdk/windows.h:41,
from base/applications/screensavers/3dtext/3dtext.c:21:
include/crt/ctype.h:121: error: conflicting types for built-in function `iswalpha'
include/crt/ctype.h:123: error: conflicting types for built-in function `iswupper'
include/crt/ctype.h:125: error: conflicting types for built-in function `iswlower'
include/crt/ctype.h:127: error: conflicting types for built-in function `iswdigit'
include/crt/ctype.h:129: error: conflicting types for built-in function `iswxdigit'
include/crt/ctype.h:131: error: conflicting types for built-in function `iswspace'
include/crt/ctype.h:133: error: conflicting types for built-in function `iswpunct'
include/crt/ctype.h:135: error: conflicting types for built-in function `iswalnum'
include/crt/ctype.h:137: error: conflicting types for built-in function `iswprint'
include/crt/ctype.h:139: error: conflicting types for built-in function `iswgraph'
include/crt/ctype.h:141: error: conflicting types for built-in function `iswcntrl'
include/crt/ctype.h:146: error: conflicting types for built-in function `towupper'
include/crt/ctype.h:148: error: conflicting types for built-in function `towlower'
include/crt/ctype.h:159: error: conflicting types for built-in function `iswblank'
make: *** [obj-i386/base/applications/screensavers/3dtext/3dtext_3dtext.o] Error 1
bash-3.2$ gcc -v
Using built-in specs.
Target: i686-pc-cygwin
Configured with: /gnu/gcc/releases/packaging/4.3.4-3/gcc4-4.3.4-3/src/gcc-4.3.4/configure
--srcdir=/gnu/gcc/releases/packaging/
..3.4-3/gcc4-4.3.4-3/src/gcc-4.3.4 --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin
--sbindir=/usr/sbin --libexecdir=/usr/lib
-datadir=/usr/share --localstatedir=/var --sysconfdir=/etc --infodir=/usr/share/info
--mandir=/usr/share/man --datadir=/usr/sha
e --infodir=/usr/share/info --mandir=/usr/share/man -v --with-gmp=/usr --with-mpfr=/usr
--enable-bootstrap --enable-version-spe
ific-runtime-libs --with-slibdir=/usr/bin --libexecdir=/usr/lib --enable-static
--enable-shared --enable-shared-libgcc --disabl
-__cxa_atexit --with-gnu-ld --with-gnu-as --with-dwarf2 --disable-sjlj-exceptions
--enable-languages=ada,c,c++,fortran,java,obj
,obj-c++ --disable-symvers --enable-libjava --program-suffix=-4 --enable-libgomp
--enable-libssp --enable-libada --enable-threa
s=posix --with-arch=i686 --with-tune=generic --enable-libgcj-sublibs CC=gcc-4 CXX=g++-4
CC_FOR_TARGET=gcc-4 CXX_FOR_TARGET=g++-
GNATMAKE_FOR_TARGET=gnatmake GNATBIND_FOR_TARGET=gnatbind AS=/opt/gcc-tools/bin/as..exe
AS_FOR_TARGET=/opt/gcc-tools/bin/as.exe
LD=/opt/gcc-tools/bin/ld..exe LD_FOR_TARGET=/opt/gcc-tools/bin/ld.exe
--with-ecj-jar=/usr/share/java/ecj.jar
Thread model: posix
gcc version 4.3.4 20090804 (release) 1 (GCC)
bash-3.2$ make
[WIDL] obj-i386/include/psdk/xmldom.h
[WIDL] obj-i386/include/psdk/xmldso.h
[WIDL] obj-i386/include/psdk/comcat.h
[WIDL] obj-i386/include/psdk/wuapi.h
[WIDL] obj-i386/include/psdk/wtypes.h
[WIDL] obj-i386/include/psdk/exdisp.h
[WIDL] obj-i386/include/psdk/mshtmhst.h
[WIDL] obj-i386/include/psdk/mscoree..h
[WIDL] obj-i386/include/psdk/mimeole.h
[WIDL] obj-i386/include/psdk/wincodec.h
[WIDL] obj-i386/include/psdk/urlmon.h
[WIDL] obj-i386/include/psdk/urlhist.h
[WIDL] obj-i386/include/psdk/unknwn.h
[WIDL] obj-i386/include/psdk/tom.h
[WIDL] obj-i386/include/psdk/textstor.h
[WIDL] obj-i386/include/psdk/strmif.h
[WIDL] obj-i386/include/psdk/shtypes.h
[WIDL] obj-i386/include/psdk/shobjidl.h
[WIDL] obj-i386/include/psdk/shldisp.h
[WIDL] obj-i386/include/psdk/servprov.h
[WIDL] obj-i386/include/psdk/sensevts.h
[WIDL] obj-i386/include/psdk/richole.h
[WIDL] obj-i386/include/psdk/pstore.h
[WIDL] obj-i386/include/psdk/propidl.h
[WIDL] obj-i386/include/psdk/perhist.h
[WIDL] obj-i386/include/psdk/optary.h
[WIDL] obj-i386/include/psdk/oleidl.h
[WIDL] obj-i386/include/psdk/oledb.h
[WIDL] obj-i386/include/psdk/oleacc.h
[WIDL] obj-i386/include/psdk/ocmm.h
[WIDL] obj-i386/include/psdk/ocidl.h
[WIDL] obj-i386/include/psdk/objsafe.h
[WIDL] obj-i386/include/psdk/objidl.h
[WIDL] obj-i386/include/psdk/oaidl.h
[WIDL] obj-i386/include/psdk/netfw.h
[WIDL] obj-i386/include/psdk/msxml2.h
[WIDL] obj-i386/include/psdk/msxml.h
[WIDL] obj-i386/include/psdk/mstask.h
[WIDL] obj-i386/include/psdk/mshtml.h
[WIDL] obj-i386/include/psdk/msctf.h
[WIDL] obj-i386/include/psdk/mlang.h
[WIDL] obj-i386/include/psdk/mimeinfo.h
[WIDL] obj-i386/include/psdk/indexsrv.h
[WIDL] obj-i386/include/psdk/imnxport.h
[WIDL] obj-i386/include/psdk/imnact.h
[WIDL] obj-i386/include/psdk/icftypes.h
[WIDL] obj-i386/include/psdk/iads.h
[WIDL] obj-i386/include/psdk/htiframe.h
[WIDL] obj-i386/include/psdk/hlink.h
[WIDL] obj-i386/include/psdk/fusion.h
[WIDL] obj-i386/include/psdk/downloadmgr.h
[WIDL] obj-i386/include/psdk/docobj.h
[WIDL] obj-i386/include/psdk/dispex.h
[WIDL] obj-i386/include/psdk/dimm.h
[WIDL] obj-i386/include/psdk/ctxtcall.h
[WIDL] obj-i386/include/psdk/control.h
[WIDL] obj-i386/include/psdk/bits..h
[WIDL] obj-i386/include/psdk/bits1_5.h
[WIDL] obj-i386/include/psdk/activscp.h
[WIDL] obj-i386/include/psdk/activdbg.h
[WIDL] obj-i386/include/psdk/activaut.h
[GENDIB] obj-i386/subsystems/win32/win32k/dib/dib32gen.c
[NCI] obj-i386/lib/ntdllsys/ntdll.S
[RBUILD] makefile.auto
Reading build files...done
Detecting compiler...not detected
Detecting binutils...not detected
Detecting netwide assembler...not detected
Detecting compiler -pipe support...not detected
Detecting compiler pre-compiled header support...not detected
Processing modules...done
Creating directories...done
Generating test support code...done
Generating compilation unit support code...done
Generating syssetup.inf....done
Generating proxy makefiles...done
Checking automatic dependencies....done
[WIDL] obj-i386/include/psdk/exdisp.h
[WIDL] obj-i386/include/psdk/msxml2.h
[WIDL] obj-i386/include/psdk/commoncontrols.h
[HOST-CC] lib/inflib/infcore.c
lib/inflib/infcore.c: In function `line_start_state':
lib/inflib/infcore.c:524: warning: array subscript has type `char'
lib/inflib/infcore.c: In function `key_name_state':
lib/inflib/infcore.c:597: warning: array subscript has type `char'
lib/inflib/infcore..c: In function `value_name_state':
lib/inflib/infcore.c:649: warning: array subscript has type `char'
lib/inflib/infcore.c: In function `eol_backslash_state':
lib/inflib/infcore.c:694: warning: array subscript has type `char'
lib/inflib/infcore.c: In function `leading_spaces_state':
lib/inflib/infcore.c:751: warning: array subscript has type `char'
lib/inflib/infcore.c: In function `trailing_spaces_state':
lib/inflib/infcore.c:772: warning: array subscript has type `char'
[HOST-CC] lib/inflib/infget.c
[HOST-CC] lib/inflib/infput.c
[HOST-CC] lib/inflib/infhostgen.c
[HOST-CC] lib/inflib/infhostget.c
[HOST-CC] lib/inflib/infhostput.c
[HOST-LD] output-i386/tools/rbuild/rbuild
[GENDIB] obj-i386/subsystems/win32/win32k/dib/dib32gen.c
[NCI] obj-i386/lib/ntdllsys/ntdll.S
[RBUILD] makefile.auto
Reading build files...done
Detecting compiler...not detected
Detecting binutils...not detected
Detecting netwide assembler...not detected
Detecting compiler -pipe support...not detected
Detecting compiler pre-compiled header support...not detected
Processing modules...done
Creating directories...done
Generating test support code...done
Generating compilation unit support code...done
Generating syssetup.inf...done
Generating proxy makefiles...done
Checking automatic dependencies...done
[CC] base/applications/screensavers/3dtext/3dtext.c
In file included from include/psdk/windows.h:40,
from base/applications/screensavers/3dtext/3dtext.c:21:
include/crt/stdarg.h:34:2: error: #error Only Win32 target is supported!
In file included from include/crt/stdarg.h:147,
from include/psdk/windows.h:40,
from base/applications/screensavers/3dtext/3dtext.c:21:
include/crt/vadefs.h:10:2: error: #error Only Win32 target is supported!
cc1: warnings being treated as errors
In file included from include/psdk/winnt.h:48,
from include/psdk/windef.h:339,
from include/psdk/windows.h:41,
from base/applications/screensavers/3dtext/3dtext.c:21:
include/crt/ctype.h:121: error: conflicting types for built-in function `iswalpha'
include/crt/ctype.h:123: error: conflicting types for built-in function `iswupper'
include/crt/ctype.h:125: error: conflicting types for built-in function `iswlower'
include/crt/ctype.h:127: error: conflicting types for built-in function `iswdigit'
include/crt/ctype.h:129: error: conflicting types for built-in function `iswxdigit'
include/crt/ctype.h:131: error: conflicting types for built-in function `iswspace'
include/crt/ctype.h:133: error: conflicting types for built-in function `iswpunct'
include/crt/ctype.h:135: error: conflicting types for built-in function `iswalnum'
include/crt/ctype.h:137: error: conflicting types for built-in function `iswprint'
include/crt/ctype.h:139: error: conflicting types for built-in function `iswgraph'
include/crt/ctype.h:141: error: conflicting types for built-in function `iswcntrl'
include/crt/ctype.h:146: error: conflicting types for built-in function `towupper'
include/crt/ctype.h:148: error: conflicting types for built-in function `towlower'
include/crt/ctype.h:159: error: conflicting types for built-in function `iswblank'
make: *** [obj-i386/base/applications/screensavers/3dtext/3dtext_3dtext.o] Error 1
Please help me.
Regards,
Evans
New Email names for you!
Get the Email name you've always wanted on the new @ymail and @rocketmail.
Hurry before someone else does!
http://mail.promotions.yahoo.com/newdomains/aa/
_______________________________________________
Ros-dev mailing list
Ros-dev(a)reactos.org
http://www.reactos.org/mailman/listinfo/ros-dev