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

"Primitive not found" error while compiling #5501

Closed
fulopm opened this Issue Aug 5, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@fulopm
Copy link

fulopm commented Aug 5, 2016

I tried to compile the following source code: https://gist.github.com/anonymous/1b5d4ece61f475df9722930d1bf1ce11 (making a Server socket, the problem is with sys.net.Socket.bind() function), with command haxe -main Server.hx --interp, but the compiling process was aborted.

The exact error message was this:
/usr/share/haxe/std/neko/_std/sys/net/Socket.hx:168: characters 2-33 : Primitive not found std@socket_bind:3 Server.hx:4: characters 8-51 : Called from ?:1: characters 1048575-8796094070782 : Called from Aborted

My Haxe version is 3.2.1 and Neko is 2.1.0. I installed it from the official PPA. I'm using Ubuntu x64.

@ncannasse

This comment has been minimized.

Copy link
Member

ncannasse commented Aug 8, 2016

The interpreter does not come with services to run a server, you can use it using Neko:

haxe -neko server.n -main Server
neko server.n

@ncannasse ncannasse closed this Aug 8, 2016

@fulopm

This comment has been minimized.

Copy link

fulopm commented Aug 8, 2016

Yes, I'm using this way now. Sorry for the unnecessary issue.

Thanks!

  1. aug. 8. dátummal, 13:00 időpontban Nicolas Cannasse notifications@github.com írta:

The interpreter does not come with services to run a server, you can use it using Neko:

haxe -neko server.n -main Server
neko server.n

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment