Build on Linux

All development related issues welcome

Moderator: Moderator Team

Post Reply
Sergei
Posts: 4
Joined: Wed May 19, 2010 7:04 pm

Build on Linux

Post by Sergei »

Hi!
Building ReactOS-0.3.11-REL-src.zip on Linux using RosBE-Unix-1.5.tar.bz2 produces these errors:

[LD] output-i386/dll/win32/actxprxy/actxprxy.dll
/mnt/l/RosBE/i386/lib/gcc/mingw32/4.4.3/libgcc.a(_enable_execute_stack.o): In function `_enable_execute_stack':
/mnt/l/RosBE-Unix-1.5/sources/gcc-build/mingw32/libgcc/../../../gcc/libgcc/../gcc/libgcc2.c:2038: undefined reference to `VirtualQuery@12'
/mnt/l/RosBE-Unix-1.5/sources/gcc-build/mingw32/libgcc/../../../gcc/libgcc/../gcc/libgcc2.c:2038: undefined reference to `VirtualProtect@16'
/mnt/l/RosBE-Unix-1.5/sources/gcc-build/mingw32/libgcc/../../../gcc/libgcc/../gcc/libgcc2.c:2038: undefined reference to `abort'
make: *** [output-i386/dll/win32/actxprxy/actxprxy.dll] Error 1

I googled up this patch:
http://www.reactos.com/bugzilla/attachment.cgi?id=4660
But it seems to be incompatible with 0.3.11-REL-src.
Haos
Test Team
Posts: 2954
Joined: Thu Mar 22, 2007 5:42 am
Contact:

Re: Build on Linux

Post by Haos »

Please open a bugreport in our bugzilla, providing all info that might be helpfull.
User avatar
EmuandCo
Developer
Posts: 4723
Joined: Sun Nov 28, 2004 7:52 pm
Location: Germany, Bavaria, Steinfeld
Contact:

Re: Build on Linux

Post by EmuandCo »

hi. try reactos trunk or if you really want thr old version, try a older rosbe. i think you need gcc 4.1.x to build it
ReactOS is still in alpha stage, meaning it is not feature-complete and is recommended only for evaluation and testing purposes.

If my post/reply offends or insults you, be sure that you know what sarcasm is...
Sergei
Posts: 4
Joined: Wed May 19, 2010 7:04 pm

Re: Build on Linux

Post by Sergei »

The trunk successfully compiled. Thanks!

Now I'd like to ask another question.
How can compile boot sectors from boot/freeldr/bootsect?
Can't find then anywhere (I ran 'make' and 'make install' in RosBE).
User avatar
EmuandCo
Developer
Posts: 4723
Joined: Sun Nov 28, 2004 7:52 pm
Location: Germany, Bavaria, Steinfeld
Contact:

Re: Build on Linux

Post by EmuandCo »

We use nasm or yasm for that. Both are included in RosBE and will be called by the makefile.
ReactOS is still in alpha stage, meaning it is not feature-complete and is recommended only for evaluation and testing purposes.

If my post/reply offends or insults you, be sure that you know what sarcasm is...
Sergei
Posts: 4
Joined: Wed May 19, 2010 7:04 pm

Re: Build on Linux

Post by Sergei »

They compiled after running 'make bootcd'. I didn't try 'make bootcd' at first, because it didn't seem logical.
Using nasm directly also works.
Thanks.
patternjake
Posts: 112
Joined: Sun May 31, 2009 12:15 am
Location: UK
Contact:

Re: Build on Linux

Post by patternjake »

Seems more logical to me to build ReactOS on Windows. It's so much more easier.

Never had any issues building ROS on Windows with the ROSBE.
Haos
Test Team
Posts: 2954
Joined: Thu Mar 22, 2007 5:42 am
Contact:

Re: Build on Linux

Post by Haos »

If someone is using Linux as his production OS, its logical for him to use it, rather than dualboot with Windows just to build ROS.
bhart
Posts: 1
Joined: Thu Oct 07, 2010 9:47 pm

Re: Build on Linux

Post by bhart »

I too had/have this issue, building 0.3.11 under Windows with RosBE.

But I will try and pull the tip and build it since that seems to be the issue.

Thanks for the help!

Regards,
-- Bob
Z98
Release Engineer
Posts: 3379
Joined: Tue May 02, 2006 8:16 pm
Contact:

Re: Build on Linux

Post by Z98 »

Wasn't there a massive fix applied to ReactOS to get it to build with the newer GCC? And that was post 0.3.11? Which would explain why people can't build it using the current BE.
User avatar
EmuandCo
Developer
Posts: 4723
Joined: Sun Nov 28, 2004 7:52 pm
Location: Germany, Bavaria, Steinfeld
Contact:

Re: Build on Linux

Post by EmuandCo »

indeed. thats why i said he should try trunk :-P
ReactOS is still in alpha stage, meaning it is not feature-complete and is recommended only for evaluation and testing purposes.

If my post/reply offends or insults you, be sure that you know what sarcasm is...
Post Reply

Who is online

Users browsing this forum: No registered users and 18 guests