I'm having trouble building 93u on Solaris (tried 7, 8, 10 x86). The issue is with new socket code in io.c:
"/tmp/ksh93u/src/cmd/ksh93/sh/io.c", line 891: undefined symbol: socklen_t "/tmp/ksh93u/src/cmd/ksh93/sh/io.c", line 891: syntax error before or at: ) "/tmp/ksh93u/src/cmd/ksh93/sh/io.c", line 914: incomplete struct/union/enum sockaddr_in: sin "/tmp/ksh93u/src/cmd/ksh93/sh/io.c", line 915: undefined symbol: socklen_t "/tmp/ksh93u/src/cmd/ksh93/sh/io.c", line 915: syntax error before or at: slen "/tmp/ksh93u/src/cmd/ksh93/sh/io.c", line 916: undefined symbol: AF_INET "/tmp/ksh93u/src/cmd/ksh93/sh/io.c", line 916: undefined symbol: SOCK_STREAM "/tmp/ksh93u/src/cmd/ksh93/sh/io.c", line 920: undefined struct/union member: sin_family "/tmp/ksh93u/src/cmd/ksh93/sh/io.c", line 921: undefined struct/union member: sin_port "/tmp/ksh93u/src/cmd/ksh93/sh/io.c", line 922: undefined struct/union member: sin_addr "/tmp/ksh93u/src/cmd/ksh93/sh/io.c", line 922: undefined struct/union member: s_addr "/tmp/ksh93u/src/cmd/ksh93/sh/io.c", line 922: warning: left operand of "." must be struct/union object "/tmp/ksh93u/src/cmd/ksh93/sh/io.c", line 922: undefined symbol: INADDR_ANY "/tmp/ksh93u/src/cmd/ksh93/sh/io.c", line 923: undefined symbol: slen "/tmp/ksh93u/src/cmd/ksh93/sh/io.c", line 925: undefined symbol: slen It seems the sys/socket.h logic in io.c is not working properly. If I add an '#include <sys/socket.h>' near the top, it builds just fine. make.out is attached (from a Solaris 8 attempt). Any suggestions? -- Ron Isaacson Morgan Stanley [email protected] / (212) 276-1349
make.out.gz
Description: Binary data
_______________________________________________ ast-users mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-users
