Re: [go-nuts] Re: fatal error: 'config.h' file not found

2019-04-17 Thread Lucio
Is it likely that *syslogd new generation* needs to be installed, together with its development libraries, *before* it can be included in a Go project? Or, quite possibly, just the development libraries? Lucio. -- You received this message because you are subscribed to the Google Groups "gola

Re: [go-nuts] Re: fatal error: 'config.h' file not found

2019-04-17 Thread Ian Lance Taylor
On Wed, Apr 17, 2019 at 4:59 AM Nitish Saboo wrote: > > Made recommended changes to the file main.go.You can see the file in my > repository : https://github.com/nitishsaboo/Testing > > Now 'go build -x' is failing with the following error: > > WORK=/tmp/go-build838755651 > mkdir -p $WORK/b001/ >

Re: [go-nuts] Re: fatal error: 'config.h' file not found

2019-04-17 Thread Nitish Saboo
Hi Ian, Made recommended changes to the file main.go.You can see the file in my repository : https://github.com/nitishsaboo/Testing Now 'go build -x' is failing with the following error: WORK=/tmp/go-build838755651 mkdir -p $WORK/b001/ cd /home/nitish/Documents/goworkspace/src/forgithub CGO_LDFLA

Re: [go-nuts] Re: fatal error: 'config.h' file not found

2019-04-16 Thread Kurtis Rader
On Tue, Apr 16, 2019 at 9:56 PM Nitish Saboo wrote: > Hi, > > I am new to GO.Can I get little help on this ? > You sent your first message asking for help to a mailing list of random strangers ~10 hours ago. Obviously you are under some time pressure to solve this but it is a bit presumptive of

Re: [go-nuts] Re: fatal error: 'config.h' file not found

2019-04-16 Thread Ian Lance Taylor
On Tue, Apr 16, 2019 at 9:56 PM Nitish Saboo wrote: > > I am new to GO.Can I get little help on this ? It's really hard to know what the answer is. One thing you can try is adding a #cgo CFLAGS line with a -I option pointing to your syslog-ng directory. See https://golang.org/cmd/cgo. Ian >