[hipl-users] Re: [PATCH] compilation fails when libinet6 is turned on

  • From: Miika Komu <miika.komu@xxxxxxx>
  • To: hipl-users@xxxxxxxxxxxxx
  • Date: Tue, 19 Jan 2010 10:08:50 +0200

tkilappa@xxxxxxxxx wrote:

Hi,

you have to send the messages from the registered email address. Are you ok with MIT and GPL licences? We're targeting a dual-licenced release of HIPL.

I sent this message already, but it didn't seem to appear in the list. If the message appears multiple times, delete the other.

----

I updated to the nightly HIPL tarball today, and even if it works just fine, it requires slight changes to the Makefiles to compile assuming libinet6 is turned on.

When compiling libinet6/usagi.c with gcc 4.3.2:
cc1: warnings being treated as errors
cc1: error: -funit-at-a-time is required for inlining of functions that are only called once

It's not a big thing, but as shown above, adding -funit-at-a-time to AM_CFLAGS removes this annoyance, so it'd be nice if you turned it on in the configure process.

Patch file doing just that is included within this message. Thanks!



Other related posts: