samba-bugs@samba.org
2007-Nov-08 02:32 UTC
DO NOT REPLY [Bug 5064] New: compile error - SCO 5.0.6a
https://bugzilla.samba.org/show_bug.cgi?id=5064 Summary: compile error - SCO 5.0.6a Product: rsync Version: 3.0.0 Platform: x86 OS/Version: Other Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: aaron.pelton@ahs.state.vt.us QAContact: rsync-qa@samba.org gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c lib/getaddrinfo.c -o lib/getaddrinfo.o lib/getaddrinfo.c: In function `check_hostent_err': lib/getaddrinfo.c:59: `h_errno' undeclared (first use in this function) lib/getaddrinfo.c:59: (Each undeclared identifier is reported only once lib/getaddrinfo.c:59: for each function it appears in.) lib/getaddrinfo.c:62: warning: unreachable code at beginning of switch statement lib/getaddrinfo.c: In function `get_my_canon_name': lib/getaddrinfo.c:94: `HOST_NAME_MAX' undeclared (first use in this function) lib/getaddrinfo.c:94: size of array `name' has non-integer type lib/getaddrinfo.c: In function `get_canon_name_from_addr': lib/getaddrinfo.c:109: warning: passing arg 1 of `gethostbyaddr' from incompatible pointer type lib/getaddrinfo.c: At top level: lib/getaddrinfo.c:156: parse error before `uint32_t' lib/getaddrinfo.c: In function `getaddr_info_single_addr': lib/getaddrinfo.c:165: `service' undeclared (first use in this function) lib/getaddrinfo.c:168: `addr' undeclared (first use in this function) lib/getaddrinfo.c:170: `hints' undeclared (first use in this function) lib/getaddrinfo.c:192: `res' undeclared (first use in this function) lib/getaddrinfo.c: In function `gethostnameinfo': lib/getaddrinfo.c:404: warning: passing arg 1 of `gethostbyaddr' from incompatible pointer type lib/getaddrinfo.c: In function `pg_getnameinfo': lib/getaddrinfo.c:484: warning: comparison between signed and unsigned make: *** [lib/getaddrinfo.o] Error 1 -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
samba-bugs@samba.org
2007-Nov-08 15:13 UTC
DO NOT REPLY [Bug 5064] compile error - SCO 5.0.6a
https://bugzilla.samba.org/show_bug.cgi?id=5064 wayned@samba.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #1 from wayned@samba.org 2007-11-08 09:13 CST ------- The latest CVS version fixes all the errors I could discern from that failed compilation. Please add another comment if there are more problems. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
samba-bugs@samba.org
2007-Nov-08 15:54 UTC
DO NOT REPLY [Bug 5064] compile error - SCO 5.0.6a
https://bugzilla.samba.org/show_bug.cgi?id=5064 aaron.pelton@ahs.state.vt.us changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #2 from aaron.pelton@ahs.state.vt.us 2007-11-08 09:54 CST ------- The compile works, if you're picky about warnings, I do still get: gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c lib/getaddrinfo.c -o lib/getaddrinfo.o lib/getaddrinfo.c: In function `get_canon_name_from_addr': lib/getaddrinfo.c:116: warning: passing arg 1 of `gethostbyaddr' from incompatible pointer type Thanks -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.