Instalando o Trimaran

0

Estou tendo o mesmo problema que foi postado aqui , mas no meu caso, usando o Ubuntu 12.04 LTS Live USB, dentro da pasta ~/trimaran/openimpact , tente executar ./install_openimpact

A Shell me responde no final:

Processing platform/x86lin_gcc/IPA_lib/__impact_lib.c
gcc -w -E -m32 -DIMPACT_FIX -I/home/ubuntu/trimaran/openimpact/platform/x86lin_gcc/include -I/home/ubuntu/trimaran/openimpact/include -I/home/ubuntu/trimaran/openimpact/config/x86lin_c platform/x86lin_gcc/IPA_lib/__impact_lib.c > platform/x86lin_gcc/IPA_lib/__impact_lib.i
impact-edgcpfe --pcode -m -w platform/x86lin_gcc/IPA_lib/__impact_lib.i
"platform/x86lin_gcc/IPA_lib/__impact_lib.c", line 1943: error: declaration is
          incompatible with "int getnameinfo(const struct sockaddr
          *__restrict__, socklen_t, char *__restrict__, socklen_t, char
          *__restrict__, socklen_t, int)" (declared at line 679 of
          "/usr/include/netdb.h")
  int getnameinfo(const struct sockaddr *sa, socklen_t salen, char *host,
      ^

1 error detected in the compilation of "platform/x86lin_gcc/IPA_lib/__impact_lib.i".
Exiting: non-zero exit code
make[1]: *** [platform/x86lin_gcc/IPA_lib/__impact_lib.pst] Error 1
make[1]: Leaving directory '/home/ubuntu/trimaran/openimpact'
make: *** [all] Error 2

Alguma idéia?

    
por CesarUR 16.02.2013 / 06:22

1 resposta

1

Abra o arquivo platform/x86lin_gcc/IPA_lib/__impact_lib.c e vá para a linha NO: 1943 em seguida, na função getnameinfo( ) altere o último parâmetro de unsigned int flags para apenas int flags , em seguida, tente instalar e o software openimpact será instalado com êxito.

    
por Shanti Swaroop Moharana 18.02.2013 / 14:13