List:MySQL and Perl« Previous MessageNext Message »
From:Jochen Wiedmann Date:September 7 1999 6:58am
Subject:Re: DEC Alpha port
View as plain text  
Yoichi Takayama wrote:

> cc: Warning: /usr/local/Hughes/include/common/portability.h, line 74: In
> this de
> claration, "u_int" has a duplicate typedef at line number 547 in file
> /usr/inclu
> de/sys/types.h.  This may not be portable.
>         typedef unsigned int u_int;

To quote the README:


  6.) From time to time compiling DBD::mSQL fails with messages like

        In file included from ../dbd/myMsql.h:55,
                   from ../dbd/dbdimp.h:32,
                   from dbdimp.c:29:
        /usr/local/Hughes/include/common/portability.h:74:
          redefinition of `u_int'
        /usr/include/sys/types.h:52: `u_int' previously declared here
        /usr/local/Hughes/include/common/portability.h:78: redefinition of
          `ssize_t'
        /usr/include/sys/types.h:116: `ssize_t' previously declared here
          *** Error code 1

      A workaroud is using

        perl Makefile.PL --config DEFINE="-DHAVE_SSIZE_T  -DHAVE_U_INT"


Bye,

Jochen


-- 
Jochen Wiedmann						joe@stripped
Life has brown and green eyes. :-)			+49 7123 14887


Thread
Re: DEC Alpha portYoichi Takayama7 Sep
  • Re: DEC Alpha portJochen Wiedmann7 Sep
Re: DEC Alpha portYoichi Takayama7 Sep