[imapproxy] Imapproxy under FreeBSD?

Chris Hastie lists at oak-wood.co.uk
Mon Jan 20 21:07:32 PST 2003


I guess this is a bit of a problem, since a trawl of the archives 
reveals only a question just as I was going to ask, with no answers 
<http://lists.horde.org/archives/imapproxy/Week-of-Mon-20021021/000021.ht
ml>

Has anything changed since October? Anyone out there figured out how to 
compile ImapProxy under FreeBSD.

Errors I see are like this:

gcc -O3 -I./include -c network.c
In file included from network.c:23:
/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 network.c:24:
/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 network.c:24:
/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'
network.c: In function `my_resolve':
network.c:63: structure has no member named `s_addr'
network.c: In function `setup_listener':
network.c:110: structure has no member named `sin_family'
network.c:111: structure has no member named `s_addr'
network.c:112: structure has no member named `sin_port'
network.c:134: structure has no member named `sin_port'
*** Error code 1

Stop in /usr/local/src/imapproxy-1.0.

-- 
Chris Hastie


More information about the imapproxy mailing list