Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to build ipsec-tools package from on Ubuntu PC. I build the package with:

$ ./autoreconf --force --install
$ ./bootstrap
$ ./configure --enable-security-context=no
$ make

The make stops with the following error message:

grabmyaddr.c:424: error: dereferencing pointer ‘sin6’ does break strict-aliasing rules

Any idea how to finish the make without errors?

share|improve this question
It's a programming error on the part of the developers. If you have a little C experience, then check out this - it was the first Google result. Or, report this bug and somebody should get around to it as compile errors tend to be pretty high priority. – new123456 Jul 27 '11 at 14:18

it is caused by the new strict aliasing checking in the 4.4 version of gcc. You can fix it by changing in the general Makefile and in the src/racoon subdirectory Makefile the CFLAGS line to include also -fno-strict-aliasing.

share|improve this answer
You can also do export CFLAGS="-fno-strict-aliasing" before configure and make, that way the flag is taken into account without changing the Makefiles. – Cosmin Prund Feb 4 '12 at 16:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.