Welcome
Welcome to <strong>SunUO</strong>.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, <a href="/profile.php?mode=register">join our community today</a>!

Compiler error (0.5)

Get (and give) support on questions related to the SunUO server.

Compiler error (0.5)

Postby creiss on Sat Dec 22, 2007 1:59 pm

Hey folks!

I am getting this compiler error:

Code: Select all
mcs -define:MONO -debug -lib:lib -out:build/SunUO.exe -r:log4net.dll src/Point3DList.cs src/BaseRegion.cs src/Timer.cs src/TileMatrix.cs src/Menus/IMenu.cs src/Menus/MenuCollection.cs src/Menus/Questions/QuestionMenu.cs src/Menus/ItemLists/ItemListMenu.cs src/Main.cs src/IEntity.cs src/Movement/Movement.cs src/World.cs src/Geometry.cs src/Item.cs src/HuePickers/HuePickerCollection.cs src/HuePickers/HuePicker.cs src/Prompts/Prompt.cs src/StringQueries/StringQuery.cs src/StringQueries/StringQueryCollection.cs src/Insensitive.cs src/TileMatrixPatch.cs src/Recycler.cs src/Serialization.cs src/Map.cs src/Profiler.cs src/Guilds/Guild.cs src/Network/EncodedReader.cs src/Network/Listener.cs src/Network/MessagePump.cs src/Network/Encryption/TwofishBase.cs src/Network/Encryption/TwofishEncryption.cs src/Network/Encryption/LoginKey.cs src/Network/Encryption/IClientEncryption.cs src/Network/Encryption/LoginEncryption.cs src/Network/Encryption/GameEncryption.cs src/Network/Encryption/Configuration.cs src/Network/Encryption/NoEncryption.cs src/Network/Encryption/Encryption.cs src/Network/EncodedPacketHandler.cs src/Network/NetState.cs src/Network/PacketHandlers.cs src/Network/PacketProfile.cs src/Network/PacketReader.cs src/Network/Packets.cs src/Network/SendQueue.cs src/Network/PacketRecycler.cs src/Network/Compression.cs src/Network/BufferPool.cs src/Network/PacketWriter.cs src/Network/PacketHandler.cs src/Network/Packet.cs src/Network/ByteQueue.cs src/Oldschool.cs src/Accounting/Account.cs src/Gumps/GumpImage.cs src/Gumps/GumpAlphaRegion.cs src/Gumps/GumpCollection.cs src/Gumps/GumpHtmlLocalized.cs src/Gumps/GumpGroup.cs src/Gumps/GumpLabelCropped.cs src/Gumps/GumpRadio.cs src/Gumps/GumpItem.cs src/Gumps/RelayInfo.cs src/Gumps/GumpEntry.cs src/Gumps/GumpHtml.cs src/Gumps/GumpImageTiled.cs src/Gumps/GumpTextEntry.cs src/Gumps/GumpButton.cs src/Gumps/GumpPage.cs src/Gumps/GumpCheck.cs src/Gumps/GumpLabel.cs src/Gumps/GumpBackground.cs src/Gumps/Gump.cs src/TileList.cs src/AssemblyInfo.cs src/Notoriety.cs src/Body.cs src/Sector.cs src/Commands.cs src/Combat/AggressorInfo.cs src/Config.cs src/SecureTrade.cs src/QuestArrow.cs src/Effects.cs src/Serial.cs src/Interfaces.cs src/ClientVersion.cs src/VirtueInfo.cs src/Party.cs src/Skills.cs src/StringList.cs src/Utility.cs src/Mobile.cs src/Poison.cs src/ObjectPropertyList.cs src/Bootstrap.cs src/Items/IGold.cs src/Items/Container.cs src/Items/BaseMulti.cs src/Items/Containers.cs src/Items/SecureTradeContainer.cs src/KeywordList.cs src/Targeting/StaticTarget.cs src/Targeting/TargetCancelType.cs src/Targeting/MultiTarget.cs src/Targeting/TargetFlags.cs src/Targeting/LandTarget.cs src/Targeting/Target.cs src/EventLog.cs src/MultiData.cs src/Attributes.cs src/Mobiles/BaseVendor.cs src/TileData.cs src/ContextMenus/ContextMenuEntry.cs src/ContextMenus/OpenBackpackEntry.cs src/ContextMenus/PaperdollEntry.cs src/ContextMenus/ContextMenu.cs src/ScriptCompiler.cs src/Library.cs src/EventSink.cs src/ItemBounds.cs
src/Mobile.cs(4769,59): error CS8025: Parsing error
gmake: *** [build/SunUO.exe] Segmentation fault: 11


uname -a
Code: Select all
FreeBSD alpha-labs.net 6.2-RELEASE-p9 FreeBSD 6.2-RELEASE-p9 #0: Sat Dec 15 14:19:52 CET 2007     root@alpha-labs.net:/usr/obj/usr/src/sys/ALPHALABS  amd64


version: 0.5
mono version: mono-1.2.5.1

The system is a pure 64 Bit system with no support for 32 bit binaries (nor are there any). The linux emulation layer is also NOT loaded.

Thank you for any kind help,
-Christian.
(and merry Christmas!)
creiss
 
Posts: 3
Joined: Sat Dec 22, 2007 1:16 pm

Postby cirrus on Tue Dec 25, 2007 12:20 pm

You should seriously check your Mono installation, it crashes with a segmentation fault. I have no idea if the compiler error has something to do with the Mono VM malfunctioning, but let's talk about your compiler error as soon as Mono works correctly. Linux emulation doesn't matter for SunUO, if you have a native FreeBSD build of Mono.
cirrus
 
Posts: 3
Joined: Tue Aug 21, 2007 5:04 am
Location: Cologne, Germany

Postby creiss on Tue Dec 25, 2007 1:56 pm

Ugh!
I'll be damned. Thank you for that pointer!

Turns out you are right, the segmentation fault was related to my systems configuration, and here is the problem (and solution): The server is configured to limit cpu time, ram time and # of procs for each user. As I was compiling the source under such a limited user, the process got capped and died.

Once I removed the limits for the users it was all smooth sailing.

Without your pointer I would not have found it, even as it was THAT obvious. It's true what they say: Sometimes 4 eyes see more than just 2.

Merry Christmas to you!
-Chris.
creiss
 
Posts: 3
Joined: Sat Dec 22, 2007 1:16 pm


Return to Server Support

Who is online

Users browsing this forum: No registered users and 0 guests

cron