-
Notifications
You must be signed in to change notification settings - Fork 23
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
Can't get to build .so file #1
Comments
the last commit is set to creating an command line tool that edits and compiles your source code. |
Thanks for your answer! What I tried so far:
And here's the output now:
If I remove the declarations in the top comment of the pl.go file, then it fails with:
Any idea of what to do? Just in case, I'm using Go 1.7.1 and PostgreSQL 9.5.4 |
No no, you must have an separate file with your functions. but also then build it with |
I already tried it, which fails as mentionned in my initial post:
I've been googling before posting here and found a post on reddit in which you told to find and remove any occurence of "-r" in your code, but there's already no occurence of it. Here's the full log:
|
can you upload somewhere your |
OK so after some "research" I've found that I can compile it and your last gcc command
and my last gcc command
differ only with the try to add to the |
Hi there,
I'm quite new to Go...
I can't figure out how to get my .so file to build.
First problem is that Go won't let me have my go file (main package) alongside the pl.go file (plgo package).
I tried to turn my package into plgo's.
Second problem is that I get an error:
Any help would be really appreciated,
Regards!
The text was updated successfully, but these errors were encountered: