27 Mar 15, 05:36PM
tbh, it feels like you're missing an include. I always have to look them up, but iostream and stdlib maybe?
Help starting a server on Linux
|
27 Mar 15, 05:36PM
tbh, it feels like you're missing an include. I always have to look them up, but iostream and stdlib maybe?
27 Mar 15, 05:43PM
27 Mar 15, 06:02PM
Could you post a full build log?
27 Mar 15, 06:06PM
27 Mar 15, 06:20PM
[SELECT ALL] Code: make server_install 2>&1 | curl -F 'sprunge=<-' http://sprunge.us
27 Mar 15, 06:22PM
(27 Mar 15, 06:20PM)SKB Wrote: Ohhh my bad. Forgot the 2>&1
27 Mar 15, 06:49PM
(27 Mar 15, 06:20PM)SKB Wrote:http://sprunge.us/NIZG
27 Mar 15, 07:46PM
Do you have build-essential installed?
[SELECT ALL] Code: sudo apt-get update; sudo apt-get install build-essential What does the following show? [SELECT ALL] Code: make clean-enet; make clean; make CXX=g++ SERVER_LIBS='-L../enet/.libs -lenet -lz -lstdc++' server_install 2>&1 | curl -F 'sprunge=<-' http://sprunge.us
27 Mar 15, 08:01PM
(This post was last modified: 27 Mar 15, 09:26PM by RandumKiwi.)
Hard to tell for sure from that build log as to what's missing. Please run these, then post the links:
sudo apt-get install g++ make automake libsdl1.2-dev libogg-dev libsdl-image1.2-dev libcurl4-openssl-dev libopenal-dev libvorbis-dev -y 2>&1 | curl -F 'sprunge=<-' http://sprunge.us cd /home/pi/New/source/source/src && sudo make clean-enet && make clean && make server CXX=g++ 2>&1 | curl -F 'sprunge=<-' http://sprunge.us (re: build-essential is good, but not necessary)
27 Mar 15, 08:22PM
(27 Mar 15, 08:01PM)RandumKiwi Wrote: Hard to tell for sure from that build log as to what's missing. Quote:undefined reference to `operator new[](unsigned long)' Apparently gcc for arm don't have support for "new" and delete operators. http://www.raspberrypi.org/forums/viewto...33&t=78357
27 Mar 15, 08:24PM
I'm running a server on ARM myself.
27 Mar 15, 09:24PM
(27 Mar 15, 07:46PM)SKB Wrote: Do you have build-essential installed? apparently build-essential was already installed Below is a screenshot of what happened when I entered the other line. Note: I lagged out for a few minutes before getting the broken pipe message http://imgur.com/vCKNZHW
27 Mar 15, 09:27PM
Quote:Below is a screenshot of what happened when I entered the other line. Note: I lagged out for a few minutes before getting the broken pipe message Run this... (27 Mar 15, 08:01PM)RandumKiwi Wrote: Hard to tell for sure from that build log as to what's missing. Please run these, then post the links: (27 Mar 15, 09:27PM)RandumKiwi Wrote:Quote:Below is a screenshot of what happened when I entered the other line. Note: I lagged out for a few minutes before getting the broken pipe message First thing I entered didn't manage to get a url response. Picture: http://imgur.com/mb973b2 The second thing fortunately did spit out a URL though it doesn't seem to be particularly thought provoking... http://sprunge.us/IYKY Picture: http://imgur.com/JZxWKR4
28 Mar 15, 03:26PM
I see a curl error but don't see where you called curl.
28 Mar 15, 03:32PM
(28 Mar 15, 03:26PM)Mousikos Wrote: I see a curl error but don't see where you called curl. Sorry looks like it a didn't fit in the screenshot. Here's a full screen picture. You might need to zoom in a bit. http://imgur.com/3vlwiD9
28 Mar 15, 08:35PM
Since you're having trouble uploading to sprunge, can you just run the command without the parts "| curl -F 'sprunge=<-' http://sprunge.us"
28 Mar 15, 09:31PM
(28 Mar 15, 08:35PM)RandumKiwi Wrote: Since you're having trouble uploading to sprunge, can you just run the command without the parts "| curl -F 'sprunge=<-' http://sprunge.us" First one says everything is already updated. Second one: http://imgur.com/fZpQ3pH By the way do I have a chance of running a server on here? I don't mean to attack anyone on the forums; you've all been really helpful to me but I don't feel like I'm getting anywhere.
29 Mar 15, 01:41AM
(This post was last modified: 29 Mar 15, 01:43AM by RandumKiwi.)
Lol, "I'm not getting anywhere"... it looks like it succesfully compiled to me (tonnes of errors though, looks like enet failed compile, for example... but then it seems to succeed..?)
Try this: [SELECT ALL] Code: cp /home/pi/New/source/source/src/ac_server /home/pi/New/source/bin_unix/native_server && cd /home/pi/New/source/source && ./bin_unix/native_server -mlocalhost
29 Mar 15, 04:03PM
(29 Mar 15, 01:41AM)RandumKiwi Wrote: Lol, "I'm not getting anywhere"... it looks like it succesfully compiled to me (tonnes of errors though, looks like enet failed compile, for example... but then it seems to succeed..?). /bin_unix/native_server: no such file or directory
29 Mar 15, 05:47PM
Quote: Maybe I am crazy but I feel like the last change directory is throwing this off? I feel it should work like this: [SELECT ALL] Code: cp /home/pi/New/source/source/src/ac_server /home/pi/New/source/bin_unix/native_server && cd /home/pi/New/source && ./bin_unix/native_server -mlocalhost Maybe?
29 Mar 15, 08:14PM
(29 Mar 15, 05:47PM)+f0r3v3r+ Wrote:Quote: Now it says ''is a directory''
30 Mar 15, 12:06AM
Do cp -r
30 Mar 15, 12:07AM
|
« Next Oldest | Next Newest »
|