Hi,
In which source file is this "main" function defined? You should include the object file for this source file in the linker command. From the linker command that you provided (below), you link with the AutoDiscCommon.o ServerCommon.o ServerMap.o, and Event.o object files. Is "main" defined in one of these objects?
g++ -L/opt/Ice-3.0.0/lib -oUTServer-Linux ./IceGenerated/AutoDiscCommon.o ../IceGenerated/ServerCommon.o ./IceGenerated/ServerMap.o ./IceGenerated/DBTables/Event.o -lIce -lIceUtil -lFreeze
Cheers,
Benoit.