My problem was that when I was compiling the app in a 64 bits Ubuntu I didn't get neither errors or warnings, just like in 32 bits, but there wasn't an output when executing it. Example:
$: ./program
$: _
But why!?
My problem was that when I was compiling the app in a 64 bits Ubuntu I didn't get neither errors or warnings, just like in 32 bits, but there wasn't an output when executing it. Example:
$: ./program
$: _
But why!?
After many headaches and mail exchanges with the library's author I found the way to use libnids library on ubuntu 64 bits system.
Okay, I told the author and after some days he found the error. It was, apparently, a GCC error. It seems, for some reason, that you have to remove the -O2 flags when compiling libnids library on 64 bits systems. So, what I've done is to remove the -O2 flags from the configure file so it creates a makefile without it.
I also recommend using this on your libnids app's Makefile: compiling using libnids