Pages: 1
  Print  
Author Topic: Just upgraded git 10/4/13, network is not compiling on Ubuntu.  (Read 849 times)
Offline (Unknown gender) intygamer
Posted on: October 04, 2013, 03:57:29 PM

Member
Joined: Mar 2013
Posts: 77

View Profile Email
I just upgraded git from 8/24/13 to 10/4/13 and the Berkley sockets enabled is not compiling on a game that was compiling on the git from 8/24/13.

Here's the output.

Code: [Select]
Building for mode (0)
Cleaning up from previous executions
 - Cleared parsed objects
 - Cleared room entries
 - Cleared shared locals list
 - Cleared event info
Loading shared locals from extensions list
Location in memory of structure: 0x8d169b0
Copying resources:
Copying sprite names [2]
Copying sound names [0]
Copying background names [0]
Copying path names [0]
Copying script names [0]
Copying shader names [0]
Copying font names [1]
Copying timeline names [kidding, these are totally not implemented :P] [0]
Copying object names [10]
Copying room names [5]
SYNTAX CHECKING AND PRIMARY PARSING:
0 Scripts:
"Linking" scripts
`Linking' 0 scripts in 0 passes...
Completing script "Link"
Done.
10 Objects:
 obj_session: 12 events:
  Event[0]:   Parsing 1 sub-events:
Check `obj_session::create... Done. Parse... Done.
  Event[8]:   Parsing 1 sub-events:
Check `obj_session::draw... Done. Parse... Done.
  Event[9]:   Parsing 2 sub-events:
Check `obj_session::keypress_67... Done. Parse... Done.
Check `obj_session::keypress_74... Done. Parse... Done.
 obj_ip: 12 events:
  Event[0]:   Parsing 1 sub-events:
Check `obj_ip::create... Done. Parse... Done.
  Event[2]:   Parsing 1 sub-events:
Check `obj_ip::alarm_0... Done. Parse... Done.
  Event[8]:   Parsing 1 sub-events:
Check `obj_ip::draw... Done. Parse... Done.
 obj_nav_keys: 12 events:
  Event[9]:   Parsing 4 sub-events:
Check `obj_nav_keys::keypress_33... Done. Parse... Done.
Check `obj_nav_keys::keypress_34... Done. Parse... Done.
Check `obj_nav_keys::keypress_81... Done. Parse... Done.
Check `obj_nav_keys::keypress_82... Done. Parse... Done.
 obj_server_player: 12 events:
  Event[0]:   Parsing 1 sub-events:
Check `obj_server_player::create... Done. Parse... Done.
  Event[3]:   Parsing 1 sub-events:
Check `obj_server_player::step... Done. Parse... Done.
  Event[5]:   Parsing 4 sub-events:
Check `obj_server_player::keyboard_37... Done. Parse... Done.
Check `obj_server_player::keyboard_38... Done. Parse... Done.
Check `obj_server_player::keyboard_39... Done. Parse... Done.
Check `obj_server_player::keyboard_40... Done. Parse... Done.
  Event[7]:   Parsing 1 sub-events:
Check `obj_server_player::outsideroom... Done. Parse... Done.
 obj_client_player: 12 events:
  Event[7]:   Parsing 1 sub-events:
Check `obj_client_player::outsideroom... Done. Parse... Done.
 obj_connect: 12 events:
  Event[0]:   Parsing 1 sub-events:
Check `obj_connect::create... Done. Parse... Done.
  Event[8]:   Parsing 1 sub-events:
Check `obj_connect::draw... Done. Parse... Done.
  Event[9]:   Parsing 7 sub-events:
Check `obj_connect::keypress_32... Done. Parse... Done.
Check `obj_connect::keypress_65... Done. Parse... Done.
Check `obj_connect::keypress_66... Done. Parse... Done.
Check `obj_connect::keypress_67... Done. Parse... Done.
Check `obj_connect::keypress_68... Done. Parse... Done.
Check `obj_connect::keypress_73... Done. Parse... Done.
Check `obj_connect::keypress_84... Done. Parse... Done.
 obj_text: 12 events:
  Event[8]:   Parsing 1 sub-events:
Check `obj_text::draw... Done. Parse... Done.
 obj_client_playerc: 12 events:
  Event[0]:   Parsing 1 sub-events:
Check `obj_client_playerc::create... Done. Parse... Done.
  Event[3]:   Parsing 1 sub-events:
Check `obj_client_playerc::step... Done. Parse... Done.
  Event[5]:   Parsing 4 sub-events:
Check `obj_client_playerc::keyboard_37... Done. Parse... Done.
Check `obj_client_playerc::keyboard_38... Done. Parse... Done.
Check `obj_client_playerc::keyboard_39... Done. Parse... Done.
Check `obj_client_playerc::keyboard_40... Done. Parse... Done.
  Event[7]:   Parsing 1 sub-events:
Check `obj_client_playerc::outsideroom... Done. Parse... Done.
 obj_server_playerc: 12 events:
  Event[7]:   Parsing 1 sub-events:
Check `obj_server_playerc::outsideroom... Done. Parse... Done.
 obj_textc: 12 events:
  Event[8]:   Parsing 1 sub-events:
Check `obj_textc::draw... Done. Parse... Done.
Creating room creation code scope and parsing
"Linking" scripts into the objects...
"Link" complete.
Tabulating maximum argument passes to each script
Finished
Writing modes and settings
Writing object switch
Writing resource names and maxima
Writing events
Linking globals
Running Secondary Parse Passes
Add dot accessed local serversocketid
 var
Add dot accessed local clientsocketid
 var
Add dot accessed local ip
 var
Add dot accessed local session
 var
Add dot accessed local test1
 var
Add dot accessed local test2
 var
Add dot accessed local test3
 var
Add dot accessed local test4
 var
Add dot accessed local test5
 var
Writing object data
Writing local accessors
Writing font data
Writing room data
Writing shader data
Running make from `make'
Full command line: make Game GMODE=Run GRAPHICS=OpenGL1 AUDIO=OpenAL COLLISION=Precise WIDGETS=None NETWORKING=BerkeleySockets PLATFORM=xlib CXX=g++ CC=gcc COMPILEPATH=Linux/Linux EXTENSIONS=" Universal_System/Extensions/Alarms Universal_System/Extensions/Timelines Universal_System/Extensions/Paths Universal_System/Extensions/MotionPlanning Universal_System/Extensions/DateTime Universal_System/Extensions/ParticleSystems Universal_System/Extensions/DataStructures" OUTPUTNAME="/tmp/egm335736454307208929.tmp" eTCpath=""
/usr/bin/make -C ENIGMAsystem/SHELL
make[1]: Entering directory `/home/joey/enigma-dev/ENIGMAsystem/SHELL'
g++ -Wall -s -O3 -IPlatforms/xlib/Info -IGraphics_Systems/OpenGL1/Info -IAudio_Systems/OpenAL/Info -ICollision_Systems/Precise/Info -IWidget_Systems/None/Info -INetworking_Systems/BerkeleySockets/Info -IUniversal_System/Info -I. -Wall -s -O3   -MMD -MP -c -o .eobjs/Linux/Linux/Run/Networking_Systems/BerkeleySockets/BS_net.o Networking_Systems/BerkeleySockets/BS_net.cpp
Networking_Systems/BerkeleySockets/BS_net.cpp: In function ‘int net_bounce(int)’:
Networking_Systems/BerkeleySockets/BS_net.cpp:131:73: error: invalid conversion from ‘int*’ to ‘socklen_t* {aka unsigned int*}’ [-fpermissive]
/usr/include/i386-linux-gnu/bits/socket2.h:65:1: error:   initializing argument 6 of ‘ssize_t recvfrom(int, void*, size_t, int, sockaddr*, socklen_t*)’ [-fpermissive]
Networking_Systems/BerkeleySockets/BS_net.cpp: In function ‘int net_get_port(int)’:
Networking_Systems/BerkeleySockets/BS_net.cpp:149:58: error: invalid conversion from ‘int*’ to ‘socklen_t* {aka unsigned int*}’ [-fpermissive]
/usr/include/i386-linux-gnu/sys/socket.h:119:12: error:   initializing argument 3 of ‘int getsockname(int, sockaddr*, socklen_t*)’ [-fpermissive]
Networking_Systems/BerkeleySockets/BS_net.cpp: In function ‘int net_blocking(int, bool)’:
Networking_Systems/BerkeleySockets/BS_net.cpp:161:13: warning: unused variable ‘r’ [-Wunused-variable]
g++ -Wall -s -O3 -IPlatforms/xlib/Info -IGraphics_Systems/OpenGL1/Info -IAudio_Systems/OpenAL/Info -ICollision_Systems/Precise/Info -IWidget_Systems/None/Info -INetworking_Systems/BerkeleySockets/Info -IUniversal_System/Info -I. -Wall -s -O3   -MMD -MP -c -o .eobjs/Linux/Linux/Run/SHELLmain.o SHELLmain.cpp
make[1]: Leaving directory `/home/joey/enigma-dev/ENIGMAsystem/SHELL'
make: *** [Game] Error 2

Thanks
Joe
Logged
Offline (Male) Goombert
Reply #1 Posted on: October 04, 2013, 06:52:47 PM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3110

View Profile
Ok, that is really weird since I have not even touched Berkeley Sockets but I do know greg was fuckin around with it, I will investigate when I have time. Because I also need to add the libs to additional for Windows we will add a dll for Box2D physics as well to the repo.
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Pages: 1
  Print