[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Little errors on FreeBSD 5.3
Hello All !
I get some mystake during compilation zmailer on FreeBSD v 5.3 -
smtpserver/mxverify.c
mxverify.c: In function 'sender_dns_verify':
mxverify.c:706: error: 'EAI_NODATA' undeclared (first use in this function)
mxverify.c:706: error: (Each undeclared identifier is reported only once
mxverify.c:706: error: for each function it appears in.)
*** Error code 1
transports/smtp/smtp.c
smtp.c: In function 'smtpconn':
smtp.c:2973: error: 'EAI_NODATA' undeclared (first use in this function)
smtp.c:2973: error: (Each undeclared identifier is reported only once
smtp.c:2973: error: for each function it appears in.)
*** Error code 1
transports/smtp/getmxrr.c
getmxrr.c: In function 'getmxrr':
getmxrr.c:419: error: 'EAI_NODATA' undeclared (first use in this function)
getmxrr.c:419: error: (Each undeclared identifier is reported only once
getmxrr.c:419: error: for each function it appears in.)
*** Error code 1
============ /usr/include/netdb.h ============================
#if 0
/* obsoleted */
#define EAI_NODATA 7 /* no address associated with hostname */
#endif
======================================================================
router/router.c
making all in router
gcc -g -O2 -DHAVE_CONFIG_H -I./../include -I../include -I.. -I./../libsh
-I../libsh -I. -c router.c
router.c: In function 'sigact_segv':
router.c:64: error: structure has no member named 'si_utime'
router.c:64: error: structure has no member named 'si_stime'
router.c:64: error: union has no member named 'sival_ptr'
router.c:65: error: structure has no member named 'si_int'
router.c:65: error: structure has no member named 'si_ptr'
router.c:66: error: structure has no member named 'si_fd'
router.c: In function 'sigact_bus':
router.c:80: error: structure has no member named 'si_utime'
router.c:80: error: structure has no member named 'si_stime'
router.c:80: error: union has no member named 'sival_ptr'
router.c:81: error: structure has no member named 'si_int'
router.c:81: error: structure has no member named 'si_ptr'
router.c:82: error: structure has no member named 'si_fd'
*** Error code 1
============ /usr/include/sys/signal.h ========================
#if __POSIX_VISIBLE >= 199309 || __XSI_VISIBLE
typedef struct __siginfo {
int si_signo; /* signal number */
int si_errno; /* errno association */
/*
* Cause of signal, one of the SI_ macros or signal-specific
* values, i.e. one of the FPE_... values for SIGFPE. This
* value is equivalent to the second argument to an old-style
* FreeBSD signal handler.
*/
int si_code; /* signal code */
__pid_t si_pid; /* sending process */
__uid_t si_uid; /* sender's ruid */
int si_status; /* exit value */
void *si_addr; /* faulting instruction */
union sigval si_value; /* signal value */
long si_band; /* band event for SIGPOLL */
int __spare__[77; /* gimme some slack */
} siginfo_t;
#endif
======================================================================
/usr/Files/zmailer/router/router.c:339: undefined reference to
'SIGNAL_ACTION'
router.o(.text+0xa38):/usr/Files/zmailer/router/router.c:340: undefined
reference to 'SIGNAL_ACTION'
daemonsub.o(.text+0x17ab): In function 'start_child':
/usr/Files/zmailer/router/daemonsub.c:248: undefined reference to
'SIGNAL_ACTION'
daemonsub.o(.text+0x17b9):/usr/Files/zmailer/router/daemonsub.c:249:
undefined reference to 'SIGNAL_ACTION'
*** Error code 1
Stop in /usr/Files/zmailer/router.
*** Error code 1
Stop in /usr/Files/zmailer.
Bye, bye !
==
Igor S Chencov
System Administrator
-
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi