Menu

#3 Does not like FreeBSD 4.3

Latest_release
closed-fixed
5
2002-02-04
2001-11-24
Anonymous
No

It configures fine, but when I run make I get the
following errors:

/usr/include/sys/socket.h:52: syntax error before
`sa_family_t'
/usr/include/sys/socket.h:52: warning: data
definition has no type or storage class
/usr/include/sys/socket.h:163: syntax error before
`u_char'
/usr/include/sys/socket.h:174: syntax error before
`u_short'
/usr/include/sys/socket.h:188: syntax error before
`u_char'
/usr/include/sys/socket.h:190: `int64_t' undeclared
here (not in a function)
/usr/include/sys/socket.h:190: `u_char' undeclared
here (not in a function)
/usr/include/sys/socket.h:190: size of array
`__ss_pad1' is too large
/usr/include/sys/socket.h:191: syntax error before
`int64_t'
/usr/include/sys/socket.h:192: `u_char' undeclared
here (not in a function)
/usr/include/sys/socket.h:192: `int64_t' undeclared
here (not in a function)
/usr/include/sys/socket.h:192: `u_char' undeclared
here (not in a function)
/usr/include/sys/socket.h:192: `int64_t' undeclared
here (not in a function)
/usr/include/sys/socket.h:359: syntax error before
`pid_t'
/usr/include/sys/socket.h:364: syntax error before
`gid_t'
/usr/include/sys/socket.h:395: syntax error before
`u_short'
/usr/include/sys/socket.h:403: syntax error before
`caddr_t'
/usr/include/sys/socket.h:407: syntax error before
`caddr_t'
/usr/include/sys/socket.h:440: syntax error before
`recv'
/usr/include/sys/socket.h:440: warning: data
definition has no type or storage class
/usr/include/sys/socket.h:441: syntax error before
`recvfrom'
/usr/include/sys/socket.h:441: warning: data
definition has no type or storage class
/usr/include/sys/socket.h:442: syntax error before
`recvmsg'
/usr/include/sys/socket.h:442: warning: data
definition has no type or storage class
/usr/include/sys/socket.h:443: syntax error before
`send'
/usr/include/sys/socket.h:443: warning: data
definition has no type or storage class
/usr/include/sys/socket.h:444: syntax error before
`sendto'
/usr/include/sys/socket.h:445: warning: data
definition has no type or storage class
/usr/include/sys/socket.h:446: syntax error before
`sendmsg'
/usr/include/sys/socket.h:446: warning: data
definition has no type or storage class
/usr/include/sys/socket.h:447: syntax error before
`off_t'
In file included from commands.c:9:
/usr/include/netinet/in.h:233: syntax error before
`u_int32_t'
/usr/include/netinet/in.h:285: syntax error before
`u_char'
In file included from /usr/include/netinet/in.h:475,
from commands.c:9:
/usr/include/netinet6/in6.h:124: syntax error before
`u_int8_t'
/usr/include/netinet6/in6.h:146: syntax error before
`u_int8_t'
/usr/include/netinet6/in6.h:151: syntax error before
`u_int32_t'
/usr/include/netinet6/in6.h:582: syntax error before
`*'
/usr/include/netinet6/in6.h:584: syntax error before
`*'
/usr/include/netinet6/in6.h:584: warning: data
definition has no type or storage class
/usr/include/netinet6/in6.h:585: syntax error before
`u_int8_t'
/usr/include/netinet6/in6.h:586: syntax error before
`u_int8_t'
/usr/include/netinet6/in6.h:592: syntax error before
`u_int'
/usr/include/netinet6/in6.h:593: syntax error before
`u_int'
*** Error code 1

-james

Discussion

  • Alexis de Bernis

    Logged In: YES
    user_id=199042

    Seems that it needs a #define somewhere to accept some sort
    of GNU extensions. I wil try to find a FreeBSD of some sort
    to test that on.

     
  • Alexis de Bernis

    • assigned_to: nobody --> alexisb
     
  • Alexis de Bernis

    • status: open --> closed-fixed
     
  • Alexis de Bernis

    Logged In: YES
    user_id=199042

    Corrected on CVS.
    It should compile ok on FreeBSD 4.3 (try configure
    --disable-nls
    if errors).

    -- Alexis

     

Log in to post a comment.

MongoDB Logo MongoDB