Mailinglist Archive: opensuse-buildservice (273 mails)

< Previous Next >
Re: [opensuse-buildservice] repackaging mpich for ubuntu
  • From: Cristian Rodríguez <crrodriguez@xxxxxxx>
  • Date: Wed, 07 Jan 2009 18:43:36 -0300
  • Message-id: <49652208.703@xxxxxxx>
Cristian Rodríguez escribió:

you have to define _GNU_SOURCE preprocessor directive.

if you package uses autotools, add AC_GNU_SOURCE to

if it doesnt, append -D_GNU_SOURCE to CFLAGS.

No, Im wrong :) replace "h_addr" for h_addr_list[0] in the source code.

"We have art in order not to die of the truth" - Friedrich Nietzsche

Cristian Rodríguez R.
Software Developer
Platform/OpenSUSE - Core Services
SUSE LINUX Products GmbH
Research & Development

< Previous Next >