help compiling the newest svn build

Ask your support questions in here

Moderator: Moderator Team

jeremyk
Posts: 84
Joined: Tue Jan 04, 2005 11:21 am

help compiling the newest svn build

Post by jeremyk » Tue Feb 22, 2005 12:03 am

I keep trying to mkae the newst bild but it errors out on the ntkrnl. I keep updating my svn daily to see if there was a fix but it has not worked yet. I do a update then a clean then a make but the mnake will never complete. can some one help with this? it says something about can not strip the the file then stops building.

frik85
Developer
Posts: 829
Joined: Fri Nov 26, 2004 7:48 pm
Location: Austria, Europe
Contact:

Re: help compiling the newest svn build

Post by frik85 » Tue Feb 22, 2005 12:20 am

jeremyk wrote:I keep trying to mkae the newst bild but it errors out on the ntkrnl. I keep updating my svn daily to see if there was a fix but it has not worked yet. I do a update then a clean then a make but the mnake will never complete. can some one help with this? it says something about can not strip the the file then stops building.
Sometimes the current SVN version break.
So you maybe cannot compile, install or boot ReactOS.
Try it again, next day :wink:
(or use an older revision)

ReactOS compile Tutorial:
http://reactosde.re.funpic.de/mediadeta ... or&mdnr=79

GvG
Posts: 499
Joined: Mon Nov 22, 2004 10:50 pm
Location: The Netherlands

Post by GvG » Tue Feb 22, 2005 12:39 am

It helps if you can post the last few lines of the make output and the exact error message

Pentiumforever
Posts: 198
Joined: Sun Jan 16, 2005 5:47 pm
Location: Duesseldorf, Germany
Contact:

Post by Pentiumforever » Tue Feb 22, 2005 4:09 pm

Here is the full compile output from 14:00 (GMT):
ReactOS Build Number Generator

Current date: 2005-02-22

ROS Version : 0.3-SVN (Build 20050222-rUNKNOWN)

{standard input}: Assembler messages:
{standard input}:3655: Warning: Ignoring changed section attributes for .text
src/event.c: In function `tcp_close':
src/event.c:55: warning: negative integer implicitly converted to unsigned type
src/event.c: In function `adns__tcp_tryconnect':
src/event.c:129: warning: passing arg 1 of `htons' with different width due to p
rototype
src/event.c: In function `adns_processreadable':
src/event.c:418: warning: passing arg 1 of `ntohs' with different width due to p
rototype
src/event.c:420: warning: passing arg 1 of `ntohs' with different width due to p
rototype
src/setup.c: In function `init_begin':
src/setup.c:502: warning: passing arg 1 of `WSAStartup' with different width due
to prototype
src/transmit.c: In function `adns__query_send':
src/transmit.c:251: warning: passing arg 1 of `htons' with different width due t
o prototype

Pentiumforever
Posts: 198
Joined: Sun Jan 16, 2005 5:47 pm
Location: Duesseldorf, Germany
Contact:

Post by Pentiumforever » Tue Feb 22, 2005 4:20 pm

the avoe error was with the default cofig with CPU: pentium3, OPIMIZED 1 und ACPI 1 it shown the following errors:
make[1]: Entering directory `G:/ROS/source/exported/trunk/lib/fslib/vfatlib'
gcc -D_DISABLE_TIDENTS -Wall -Werror -I. -O2 -Wno-strict-aliasing -I../../../inc
lude -I../../../w32api/include -pipe -march=pentium3 -D_M_IX86 -g -c fat12.c -o
fat12.o
gcc -D_DISABLE_TIDENTS -Wall -Werror -I. -O2 -Wno-strict-aliasing -I../../../inc
lude -I../../../w32api/include -pipe -march=pentium3 -D_M_IX86 -g -c fat16.c -o
fat16.o
gcc -D_DISABLE_TIDENTS -Wall -Werror -I. -O2 -Wno-strict-aliasing -I../../../inc
lude -I../../../w32api/include -pipe -march=pentium3 -D_M_IX86 -g -c fat32.c -o
fat32.o
gcc -D_DISABLE_TIDENTS -Wall -Werror -I. -O2 -Wno-strict-aliasing -I../../../inc
lude -I../../../w32api/include -pipe -march=pentium3 -D_M_IX86 -g -c vfatlib.c -
o vfatlib.o
ar -rc ../../../dk/w32/lib/libvfatlib.a fat12.o fat16.o fat32.o vfatlib.o
make[1]: Leaving directory `G:/ROS/source/exported/trunk/lib/fslib/vfatlib'
VERSION 6.1
Have a lot of fun :wink:

blight
Developer
Posts: 35
Joined: Tue Nov 30, 2004 10:34 pm
Location: away

Post by blight » Tue Feb 22, 2005 4:34 pm

-.-
Last edited by blight on Wed Feb 23, 2005 1:48 pm, edited 1 time in total.

Pentiumforever
Posts: 198
Joined: Sun Jan 16, 2005 5:47 pm
Location: Duesseldorf, Germany
Contact:

Post by Pentiumforever » Tue Feb 22, 2005 4:36 pm

the last one work, my mistake, it was busy for many minutes tht i think....

the first have i cancel after a few minutes when you it say it shuld be work :wink:

Pentiumforever
Posts: 198
Joined: Sun Jan 16, 2005 5:47 pm
Location: Duesseldorf, Germany
Contact:

Post by Pentiumforever » Tue Feb 22, 2005 4:47 pm

I think now i have found the eroor :lol: :
make[1]: Entering directory `G:/ROS/source/exported/trunk/lib/fslib/vfatlib'
gcc -D_DISABLE_TIDENTS -Wall -Werror -I. -O2 -Wno-strict-aliasing -I../../../inc
lude -I../../../w32api/include -pipe -march=pentium3 -D_M_IX86 -g -c fat12.c -o
fat12.o
gcc -D_DISABLE_TIDENTS -Wall -Werror -I. -O2 -Wno-strict-aliasing -I../../../inc
lude -I../../../w32api/include -pipe -march=pentium3 -D_M_IX86 -g -c fat16.c -o
fat16.o
gcc -D_DISABLE_TIDENTS -Wall -Werror -I. -O2 -Wno-strict-aliasing -I../../../inc
lude -I../../../w32api/include -pipe -march=pentium3 -D_M_IX86 -g -c fat32.c -o
fat32.o
gcc -D_DISABLE_TIDENTS -Wall -Werror -I. -O2 -Wno-strict-aliasing -I../../../inc
lude -I../../../w32api/include -pipe -march=pentium3 -D_M_IX86 -g -c vfatlib.c -
o vfatlib.o
ar -rc ../../../dk/w32/lib/libvfatlib.a fat12.o fat16.o fat32.o vfatlib.o
make[1]: Leaving directory `G:/ROS/source/exported/trunk/lib/fslib/vfatlib'
VERSION 6.1

GvG
Posts: 499
Joined: Mon Nov 22, 2004 10:50 pm
Location: The Netherlands

Post by GvG » Tue Feb 22, 2005 4:49 pm

Still doesn't look like an error. Only "normal" build status messages.

Pentiumforever
Posts: 198
Joined: Sun Jan 16, 2005 5:47 pm
Location: Duesseldorf, Germany
Contact:

Post by Pentiumforever » Tue Feb 22, 2005 4:51 pm

shit i hate the mark function of the ms dos window this is not all!
gcc -Wl,--base-file,base.tmp \
-Wl,--entry,_DriverEntry@8 \
-nostartfiles -nostdlib -g \
-o junk.tmp \
./pci.coff fdo.o pci.o pdo.o ../../../dk/nkm/lib/libntoskrnl.a ../../..
/dk/nkm/lib/libhal.a
../../../tools/rdel junk.tmp
dlltool --as=as --dllname pci.sys \
--base-file base.tmp \
--output-exp temp.exp --kill-at
../../../tools/rdel base.tmp
gcc -nostartfiles -nostdlib -g \
-Wl,--subsystem,native \
-Wl,--image-base,0x10000 \
-Wl,--file-alignment,0x1000 \
-Wl,--section-alignment,0x1000 \
-Wl,--entry,_DriverEntry@8 \
-Wl,temp.exp -mdll \
-o pci.nostrip.sys \
./pci.coff fdo.o pci.o pdo.o ../../../dk/nkm/lib/libntoskrnl.a ../../..
/dk/nkm/lib/libhal.a
../../../tools/rdel temp.exp
nm --numeric-sort pci.nostrip.sys > pci.map
../../../tools/rsym pci.nostrip.sys pci.sys
make[1]: Leaving directory `G:/ROS/source/exported/trunk/drivers/bus/pci'
make[1]: Entering directory `G:/ROS/source/exported/trunk/lib/msvcrt'
windres --include-dir ../../include --include-dir ../../w32api/include msvcrt.r
c -o msvcrt.coff
gcc -D__USE_W32API -D_MSVCRT_LIB_ -Wall -Werror -I../crt/include -D_DISABLE_TIDE
NTS -D__USE_W32API -D__REACTOS__ -D_WIN32_IE=0x600 -D_WIN32_WINNT=0x501 -DUSE_MS
VCRT_PREFIX -D_MT -I. -O2 -Wno-strict-aliasing -I../../include -I../../w32api/in
clude -pipe -march=pentium3 -D_M_IX86 -g -c dllmain.c -o dllmain.o
ar -rc msvcrt.a dllmain.o
gcc -Wl,--base-file,base.tmp \
-Wl,--entry,_DllMain@12 \
-nostartfiles -nostdlib -g -mdll -Wl,--image-base,0x78000000 \
-o junk.tmp \
./msvcrt.coff dllmain.o ../../dk/w32/lib/libcrt.a ../../dk/w32/lib/libs
tring.a ../../dk/w32/lib/libkernel32.a ../../dk/w32/lib/libntdll.a ../../dk/w32/
lib/libwine.a -lgcc
../../tools/rdel junk.tmp
dlltool --as=as --dllname msvcrt.dll \
--base-file base.tmp \
--output-exp temp.exp --def ./msvcrt.def
../../tools/rdel base.tmp
gcc -Wl,--base-file,base.tmp \
-Wl,--entry,_DllMain@12 \
-nostartfiles -nostdlib -g -mdll -Wl,--image-base,0x78000000 \
temp.exp \
-o junk.tmp \
./msvcrt.coff dllmain.o ../../dk/w32/lib/libcrt.a ../../dk/w32/lib/libs
tring.a ../../dk/w32/lib/libkernel32.a ../../dk/w32/lib/libntdll.a ../../dk/w32/
lib/libwine.a -lgcc
temp.exp:fake:(.edata+0x468): undefined reference to `_fsopen'
collect2: ld returned 1 exit status
make[1]: *** [msvcrt.nostrip.dll] Error 1
make[1]: Leaving directory `G:/ROS/source/exported/trunk/lib/msvcrt'
make: *** [msvcrt] Error 2

folle_invasato
Posts: 134
Joined: Thu Jan 13, 2005 9:11 pm
Location: Pordenone, Italy

Post by folle_invasato » Tue Feb 22, 2005 8:51 pm

D:\OpenSourceProjects\Reactos\reactos>make
process_begin: CreateProcess((null), bison -d -o y.tab.c parser.y, ...) failed.
make (e=2): Impossibile trovare il file specificato.
make[2]: *** [y.tab.c] Error 2
make[1]: *** [widl_target] Error 2
make: *** [tools] Error 2

-- Did I need bison to compile the latest version of ReactOS source?

GvG
Posts: 499
Joined: Mon Nov 22, 2004 10:50 pm
Location: The Netherlands

Post by GvG » Tue Feb 22, 2005 9:59 pm

Dependency on bison has been removed again.

Pentiumforever
Posts: 198
Joined: Sun Jan 16, 2005 5:47 pm
Location: Duesseldorf, Germany
Contact:

Post by Pentiumforever » Fri Feb 25, 2005 9:27 pm

utility/xmlstorage.cpp: In member function `std::string XMLStorage::XMLReaderBas
e::get_error_string() const':
utility/xmlstorage.cpp:429: error: `XML_ERROR_UNDECLARING_PREFIX' undeclared (fi
rst use this function)
utility/xmlstorage.cpp:429: error: (Each undeclared identifier is reported only
once for each function it appears in.)
utility/xmlstorage.cpp:430: error: `XML_ERROR_INCOMPLETE_PE' undeclared (first u
se this function)
utility/xmlstorage.cpp:431: error: `XML_ERROR_XML_DECL' undeclared (first use th
is function)
utility/xmlstorage.cpp:432: error: `XML_ERROR_TEXT_DECL' undeclared (first use t
his function)
utility/xmlstorage.cpp:433: error: `XML_ERROR_PUBLICID' undeclared (first use th
is function)
utility/xmlstorage.cpp:442: error: `XML_ERROR_RESERVED_PREFIX_XML' undeclared (f
irst use this function)
utility/xmlstorage.cpp:443: error: `XML_ERROR_RESERVED_PREFIX_XMLNS' undeclared
(first use this function)
utility/xmlstorage.cpp:444: error: `XML_ERROR_RESERVED_NAMESPACE_URI' undeclared
(first use this function)
make[1]: *** [utility/xmlstorage.o] Error 1
make: *** [ibrowser] Error 2
any idea?

folle_invasato
Posts: 134
Joined: Thu Jan 13, 2005 9:11 pm
Location: Pordenone, Italy

Post by folle_invasato » Thu Mar 03, 2005 9:47 pm

I get a strange error building shlwapi.dll

D:\OpenSourceProjects\Reactos\reactos>make
freeldr: Tools are up to date.
freeldr: Tools are up to date.
freeldr: Assembling fat
freeldr: Assembling fat32
freeldr: Make ALL done.
[LD] shlwapi.nostrip.dll
temp.exp(.edata+0x94):fake: undefined reference to `f1'
temp.exp(.edata+0x98):fake: undefined reference to `f2'
temp.exp(.edata+0x9c):fake: undefined reference to `f3'
temp.exp(.edata+0xa0):fake: undefined reference to `f4'
make[1]: *** [shlwapi.nostrip.dll] Error 1
make: *** [shlwapi] Error 2


Some ideas?

mjs
Posts: 47
Joined: Sat Feb 19, 2005 9:03 pm

Post by mjs » Thu Mar 03, 2005 11:04 pm

The problems will go away when using gcc 3.4.2+ and the actual binutils version.

Regards,
Mark

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests