New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSX Bad Address #7
Comments
This looks as if you were trying to create a 64bit version of boxes. Boxes is a 32bit program though, and compiling it for 64bit would take a bit of work on the code first. (You get a lot of pointer size warnings that indicate this problem.) 64bit support is not planned for boxes because its memory footprint is extremely low. Also, you can use 32bit boxes on a 64bit operating system with no problems. Have you tried installing boxes by simply calling |
I have just tried, fails with the same error. I compiled it by hand as 32bit and it works just fine. Thanks! |
Great, glad it works now! Can you tell me the settings you added to force 32bit? This might be interesting to other people compiling on OSX. Thanks! |
I added "-m32" to the CFLAGS and LDFLAGS variable in every Makefile |
If it doesn't break anything on 32bit, could you consider adding it by default? |
Thank you for the information! Boxes is currently running on over 20 platforms (lately including even some Netgear routers), so I have a hard time finding out if it breaks anything. Maybe we can deduce something from the compiler docs. But I like the idea, and will definitely think about it. |
For the record, here is the full command line to compile successfully in this case (added to the FAQ a few weeks ago):
|
On Mac OSX 10.9 64bit, boxes delevopment version almost always crashes (except when called as
boxes -v
orboxes -h
) with the error message:boxes: Bad address
. If compiled with-DDEBUG
and called asecho 1 | ./boxes
, it crashes withThe output of
make
isThe text was updated successfully, but these errors were encountered: