I found it: I had a typo writing "C.nil" instead of "nil". thanks for your help!
On Sun, Jun 11, 2017 at 9:31 PM, Ian Lance Taylor wrote:
> On Sun, Jun 11, 2017 at 7:56 PM, andrey mirtchovski
> wrote:
>>
>> I have a piece of cgo code which doesn't do much, but links a lot of
>> libraries in. As
On Sun, Jun 11, 2017 at 7:56 PM, andrey mirtchovski
wrote:
>
> I have a piece of cgo code which doesn't do much, but links a lot of
> libraries in. As far as I can tell all my includes are there and they
> shouldn't stomp on each other (they don't when compiled in C), however
> with cgo I get the
I have a piece of cgo code which doesn't do much, but links a lot of
libraries in. As far as I can tell all my includes are there and they
shouldn't stomp on each other (they don't when compiled in C), however
with cgo I get the following weirdness:
$ go build
# mypkg
Undefined symbols for archite