Socklog on AIX?
"Daniel Clark" <[email protected]>
| Newsgroups | gmane.comp.misc.pape.general |
|---|---|
| Message-ID | <[email protected]> |
Has anyone gotten Socklog (2.1.0) to compile on AIX?
The below is what I get with GCC 4.1.1 on AIX 5.3. I'm not a C coder
at all but am willing to spend time getting this to work with gentle
nudging from someone who is if anyone is interested.
[...]
cat sysdeps
aix-5-3-:-:-:0009c29c4c00-:-
#!/bin/sh
# WARNING: This file was auto-generated. Do not edit!
exec gcc -O2 -Wall -c ${1+"$@"}
#!/bin/sh
# WARNING: This file was auto-generated. Do not edit!
main="$1"; shift
exec gcc -s -o "$main" "$main".o ${1+"$@"}
/* sysdep: +dirent */
/* sysdep: +waitpid */
/* sysdep: +sigaction */
/* sysdep: +sigprocmask */
/* sysdep: +sysselect */
/* sysdep: -ulong64 */
/* sysdep: +poll */
/* sysdep: +mkfifo */
/* sysdep: -flock */
/* sysdep: -shortsetgroups */
./compile socklog.c
socklog.c: In function 'print_syslog_names':
socklog.c:106: warning: implicit declaration of function 'LOG_FAC'
socklog.c:107: error: 'CODE' undeclared (first use in this function)
socklog.c:107: error: (Each undeclared identifier is reported only once
socklog.c:107: error: for each function it appears in.)
socklog.c:107: error: 'p' undeclared (first use in this function)
socklog.c:109: error: 'facilitynames' undeclared (first use in this function)
socklog.c:120: warning: implicit declaration of function 'LOG_PRI'
socklog.c:121: error: 'prioritynames' undeclared (first use in this function)
socklog.c: In function 'read_socket':
socklog.c:227: warning: passing argument 6 of 'nrecvfrom' from
incompatible pointer type
make: *** [socklog.o] Error 1
--
Daniel Clark # http://planyp.us/djbclark/profile
# http://dclark.us # http://opensysadmin.com