Compiling help
Moderator: Moderator Team
Compiling help
Please help i am using,
MinGW-3.1.0-1
nasm-0.98-win32
gcc-core-3.3.3-20040217-1.tar
gcc-g++-3.3.3-20040217-1.tar
gcc-objc-3.3.3-20040217-1.tar
w32api-2.5.tar
binutils-2.15.94-20050118-1.tar
mingw32-make-3.80.0-3
i am on XP
Dl from SVN.
I get
[ external image ]
There was a whole lot of stuff way before this but it all disappeared couldnt get a sreeni(read something like, Is not used....)
MinGW-3.1.0-1
nasm-0.98-win32
gcc-core-3.3.3-20040217-1.tar
gcc-g++-3.3.3-20040217-1.tar
gcc-objc-3.3.3-20040217-1.tar
w32api-2.5.tar
binutils-2.15.94-20050118-1.tar
mingw32-make-3.80.0-3
i am on XP
Dl from SVN.
I get
[ external image ]
There was a whole lot of stuff way before this but it all disappeared couldnt get a sreeni(read something like, Is not used....)
-
- Posts: 237
- Joined: Fri Nov 26, 2004 10:44 pm
- Location: Fallowfield
Sorry, I don't know anything about compiling, but:
If the information has simply scrolled out of the window, you can find it by scrolling up. Otherwise, maybe you could try increasing the screen buffer size by right-clicking the title bar and clicking 'properties'.
By the way, if you press Alt+PrintScreen, it only copies the active window to the clipboard, so you don't need to crop it in Paint.
If the information has simply scrolled out of the window, you can find it by scrolling up. Otherwise, maybe you could try increasing the screen buffer size by right-clicking the title bar and clicking 'properties'.
By the way, if you press Alt+PrintScreen, it only copies the active window to the clipboard, so you don't need to crop it in Paint.
This part of ReactOS is compiled with the -Werror switch, which means "treat warnings as errors". So the warnings you see on the screenprint are what causes the build to stop.meklort wrote:form the screen that you pasted I dont see any errors
Problems with compiling on GCC 3.3.3 have been fixed in r15883. Please update to latest SVN and try againGreyGhost wrote:Please help i am using,
gcc-core-3.3.3-20040217-1.tar
It reads revision 15918
The log file dosent show any errors. Just stuff like [cc]...... [mk].....etc
i will try again any way.How do ya switch off the Werror?
This part of ReactOS is compiled with the -Werror switch, which means "treat warnings as errors". So the warnings you see on the screenprint are what causes the build to stop.
The log file dosent show any errors. Just stuff like [cc]...... [mk].....etc
i will try again any way.How do ya switch off the Werror?
This part of ReactOS is compiled with the -Werror switch, which means "treat warnings as errors". So the warnings you see on the screenprint are what causes the build to stop.
IT COMPILED!!!!!
Forget the above post.It compiled.Thanks everyone.
It seems(I think) the prev. svn relese had some prob. with make clean it used to give me a error at the last line.This time with the above svn release it gave me an error at the first line but it completed compiling.I've now got some more Qs.
Forget the above post.It compiled.Thanks everyone.
It seems(I think) the prev. svn relese had some prob. with make clean it used to give me a error at the last line.This time with the above svn release it gave me an error at the first line but it completed compiling.I've now got some more Qs.
Hmm. I get this using my (dev-cpp) mingw
Using rosBE and mingw32-make I get
I'd like to get a Dev-Cpp project of ReactOS since that's my fav editor. I see in \tools\rbuild\ we have files that can do that? I compiled rbuild but it doesn't seem to work when I put it in the "trunk"..
Code: Select all
C:\Work\reactOS\src>make all
[CC] toolswrcdumpres.c
gcc.exe: toolswrcdumpres.c: No such file or directory
gcc.exe: no input files
make: *** [obj-i386\tools\wrc\dumpres.o] Error 1
C:\Work\reactOS\src>pause
Press any key to continue . . .
Code: Select all
C:\Work\reactOS\src>mingw32-make
[CC] appsutilsnetarparp.c
apps\utils\net\arp\arp.c: In function `Addhost':
apps\utils\net\arp\arp.c:201: warning: 'pIpAddrTable' might be used uninitialize
d in this function
apps\utils\net\arp\arp.c:202: warning: 'dwIpAddr' might be used uninitialized in
this function
mingw32-make: *** [obj-i386\apps\utils\net\arp\arp.o] Error 1
C:\Work\reactOS\src>pause
Press any key to continue . . .
The strike of dev-cpp
I love dev-cpp for playing mind games with people.
Its Make program has a nice problem. / That should be a directory split in windows or linux is classed as a invald char and removed it. Basicly will not build reactos. If I recall correct swap the make file will fix the problem.
rosBE error I have had before I know it.
I think its -Wall flag (don't execpt this to be right some else answer yes or no).
Gcc has a flag that turns Warning into errors and newer the Gcc the more Warning it creates and the more code faults it finds. Yes these are minor code defects that should be removed. But removing the Warning to Error flag will let this build.
Its Make program has a nice problem. / That should be a directory split in windows or linux is classed as a invald char and removed it. Basicly will not build reactos. If I recall correct swap the make file will fix the problem.
rosBE error I have had before I know it.
I think its -Wall flag (don't execpt this to be right some else answer yes or no).
Gcc has a flag that turns Warning into errors and newer the Gcc the more Warning it creates and the more code faults it finds. Yes these are minor code defects that should be removed. But removing the Warning to Error flag will let this build.
Hmm I'm not sure about what you said about Dev-Cpp... I update it's mingw myself and simply use it as an IDE. That or MingwStudio. I'd like to have projects for either of those sometime. It can make life easier for those having trouble with the makefile.
I think you're right! I haven't tried it but looking at the output again it indeed seems those warnings were treated as errors. Thank you, I'll try to take that out of the makefile, or fix the warnings.
UPDATE :
Seems to be compiling (using rosBE). So far so good. All I did was update sources from SVN and made these changes
keeping my fingers crossed
I think you're right! I haven't tried it but looking at the output again it indeed seems those warnings were treated as errors. Thank you, I'll try to take that out of the makefile, or fix the warnings.
UPDATE :
Seems to be compiling (using rosBE). So far so good. All I did was update sources from SVN and made these changes
Code: Select all
In the file
\apps\utils\net\arp\arp.c
/*
* Takes an internet address, a MAC address and an optional interface
* address as arguments and checks their validity.
* Fill out an MIB_IPNETROW structure and insert the data into the
* ARP cache as a static entry.
*
*/
INT Addhost(PTCHAR pszInetAddr, PTCHAR pszEthAddr, PTCHAR pszIfAddr)
{
PMIB_IPNETROW pAddHost;
PMIB_IPADDRTABLE pIpAddrTable =0; // fixed warning
DWORD dwIpAddr =0; // fixed warning
DWORD dwSize = 0;
....
It worked!
I have a Dev-Cpp project generated from the rbuild.exe in the /tools directory.. but it was hard to make since there's a bug in rbuild source (it chops off the first two chars of the path when "checking dependancies" ! ). That little bug makes it tedious to do..
Maybe I'll try to fix that bug, but I can't tell where it is yet. Then I might do a how-to for people wanting to make Dev-Cpp projects...
I have a Dev-Cpp project generated from the rbuild.exe in the /tools directory.. but it was hard to make since there's a bug in rbuild source (it chops off the first two chars of the path when "checking dependancies" ! ). That little bug makes it tedious to do..
Maybe I'll try to fix that bug, but I can't tell where it is yet. Then I might do a how-to for people wanting to make Dev-Cpp projects...
Who is online
Users browsing this forum: Ahrefs [Bot] and 1 guest