[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compiling Monit 4.0 on Tru64 5.1A
From: |
Arneaud, Nick |
Subject: |
Compiling Monit 4.0 on Tru64 5.1A |
Date: |
Thu, 10 Aug 2006 16:33:02 -0400 |
Hi, I am having a
problem compiling Monit on Tru64 5.1A. I have tried compiling other versions of
Monit and had the most luck so far with version 4.0. While I understand
that it is not a supported OS, this is unfortunately what I have to work with.
I have
edited the Makefile after it is generated and added the -pthread option which
has helped a lot, but it is still having a problem
compiling.
Any help would be
appreciated.
Thanks very
much.
Nick
# ./configure --without-ssl
checking for gcc...
no
checking for cc... cc
checking for C compiler default output...
a.out
checking whether the C compiler works... yes
checking whether we are
cross compiling... no
checking for suffix of executables...
checking for
suffix of object files... o
checking whether we are using the GNU C
compiler... no
checking whether cc accepts -g... yes
checking how to run
the C preprocessor... cc -E
checking for a BSD-compatible install...
./install-sh -c
checking whether make sets ${MAKE}... yes
checking for
flex... flex
checking for yywrap in -lfl... yes
checking lex output file
root... lex.yy
checking whether yytext is a pointer... yes
checking for
bison... no
checking for byacc... no
checking for socket in -lsocket...
no
checking for socket in -linet... no
checking for inet_addr in -lnsl...
no
checking for inet_aton in -lresolv... yes
checking for pthread_create
in -lpthread... no
checking for pthread_create in -lc_r... no
checking for
ANSI C header files... yes
checking for sys/wait.h that is POSIX.1
compatible... yes
checking whether stat file-mode macros are broken...
no
checking whether time.h and sys/time.h may both be included...
yes
checking for sys/types.h... yes
checking for sys/stat.h...
yes
checking for stdlib.h... yes
checking for string.h... yes
checking
for memory.h... yes
checking for strings.h... yes
checking for
inttypes.h... yes
checking for stdint.h... no
checking for unistd.h...
yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence...
yes
checking for arpa/inet.h... yes
checking asm/page.h usability...
no
checking asm/page.h presence... no
checking for asm/page.h...
no
checking asm/param.h usability... no
checking asm/param.h presence...
no
checking for asm/param.h... no
checking ctype.h usability...
yes
checking ctype.h presence... yes
checking for ctype.h...
yes
checking errno.h usability... yes
checking errno.h presence...
yes
checking for errno.h... yes
checking fcntl.h usability...
yes
checking fcntl.h presence... yes
checking for fcntl.h...
yes
checking getopt.h usability... yes
checking getopt.h presence...
yes
checking for getopt.h... yes
checking glob.h usability...
yes
checking glob.h presence... yes
checking for glob.h... yes
checking
grp.h usability... yes
checking grp.h presence... yes
checking for
grp.h... yes
checking kvm.h usability... no
checking kvm.h presence...
no
checking for kvm.h... no
checking limits.h usability... yes
checking
limits.h presence... yes
checking for limits.h... yes
checking for
limits.h... (cached) yes
checking loadavg.h usability... no
checking
loadavg.h presence... no
checking for loadavg.h... no
checking locale.h
usability... yes
checking locale.h presence... yes
checking for
locale.h... yes
checking machine/pmap.h usability... yes
checking
machine/pmap.h presence... yes
checking for machine/pmap.h... yes
checking
machine/vmparam.h usability... yes
checking machine/vmparam.h presence...
yes
checking for machine/vmparam.h... yes
checking for memory.h...
(cached) yes
checking mntent.h usability... no
checking mntent.h
presence... no
checking for mntent.h... no
checking netdb.h usability...
yes
checking netdb.h presence... yes
checking for netdb.h...
yes
checking net/if.h usability... yes
checking net/if.h presence...
yes
checking for net/if.h... yes
checking netinet/in.h usability...
yes
checking netinet/in.h presence... yes
checking for netinet/in.h...
yes
checking procfs.h usability... no
checking procfs.h presence...
no
checking for procfs.h... no
checking procinfo.h usability...
no
checking procinfo.h presence... no
checking for procinfo.h...
no
checking pthread.h usability... no
checking pthread.h presence...
no
checking for pthread.h... no
checking pwd.h usability...
yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking
setjmp.h usability... yes
checking setjmp.h presence... yes
checking for
setjmp.h... yes
checking signal.h usability... yes
checking signal.h
presence... yes
checking for signal.h... yes
checking stdarg.h
usability... yes
checking stdarg.h presence... yes
checking for
stdarg.h... yes
checking stdio.h usability... yes
checking stdio.h
presence... yes
checking for stdio.h... yes
checking for string.h...
(cached) yes
checking for string.h... (cached) yes
checking for
strings.h... (cached) yes
checking stropts.h usability... yes
checking
stropts.h presence... yes
checking for stropts.h... yes
checking
sys/filio.h usability... no
checking sys/filio.h presence... no
checking
for sys/filio.h... no
checking sys/ioctl.h usability... yes
checking
sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking
sys/loadavg.h usability... no
checking sys/loadavg.h presence...
no
checking for sys/loadavg.h... no
checking sys/lock.h usability...
yes
checking sys/lock.h presence... yes
checking for sys/lock.h...
yes
checking sys/mnttab.h usability... no
checking sys/mnttab.h
presence... no
checking for sys/mnttab.h... no
checking sys/mount.h
usability... yes
checking sys/mount.h presence... yes
checking for
sys/mount.h... yes
checking sys/nlist.h usability... no
checking
sys/nlist.h presence... no
checking for sys/nlist.h... no
checking
sys/param.h usability... yes
checking sys/param.h presence... yes
checking
for sys/param.h... yes
checking sys/proc.h usability... yes
checking
sys/proc.h presence... yes
checking for sys/proc.h... yes
checking
sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking
for sys/pstat.h... no
checking sys/resource.h usability... yes
checking
sys/resource.h presence... yes
checking for sys/resource.h... yes
checking
sys/resourcevar.h usability... no
checking sys/resourcevar.h presence...
no
checking for sys/resourcevar.h... no
checking sys/socket.h usability...
yes
checking sys/socket.h presence... yes
checking for sys/socket.h...
yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h
presence... yes
checking for sys/statvfs.h... yes
checking sys/sysctl.h
usability... no
checking sys/sysctl.h presence... no
checking for
sys/sysctl.h... no
checking sys/time.h usability... yes
checking
sys/time.h presence... yes
checking for sys/time.h... yes
checking for
sys/types.h... (cached) yes
checking sys/un.h usability... yes
checking
sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/user.h
usability... yes
checking sys/user.h presence... yes
checking for
sys/user.h... yes
checking sys/vmmeter.h usability... no
checking
sys/vmmeter.h presence... no
checking for sys/vmmeter.h... no
checking
sys/vfs.h usability... no
checking sys/vfs.h presence... no
checking for
sys/vfs.h... no
checking syslog.h usability... yes
checking syslog.h
presence... yes
checking for syslog.h... yes
checking for unistd.h...
(cached) yes
checking uvm/uvm.h usability... no
checking uvm/uvm.h
presence... no
checking for uvm/uvm.h... no
checking uvm/uvm_object.h
usability... no
checking uvm/uvm_object.h presence... no
checking for
uvm/uvm_object.h... no
checking uvm/uvm_map.h usability... no
checking
uvm/uvm_map.h presence... no
checking for uvm/uvm_map.h... no
checking
uvm/uvm_pmap.h usability... no
checking uvm/uvm_pmap.h presence...
no
checking for uvm/uvm_pmap.h... no
checking vm/pmap.h usability...
no
checking vm/pmap.h presence... no
checking for vm/pmap.h...
no
checking vm/vm.h usability... no
checking vm/vm.h presence...
no
checking for vm/vm.h... no
checking vm/vm_object.h usability...
no
checking vm/vm_object.h presence... no
checking for vm/vm_object.h...
no
checking vm/vm_map.h usability... no
checking vm/vm_map.h presence...
no
checking for vm/vm_map.h... no
checking for mode_t... yes
checking
for pid_t... yes
checking for size_t... yes
checking for pid_t... (cached)
yes
checking return type of signal handlers... void
checking whether
struct tm is in sys/time.h or time.h... time.h
checking for struct
tm.tm_gmtoff... no
checking for cc option to accept ANSI C... none
needed
checking for an ANSI C-conforming const... yes
checking whether
byte ordering is bigendian... no
checking for error_at_line... no
checking
for unistd.h... (cached) yes
checking vfork.h usability... no
checking
vfork.h presence... no
checking for vfork.h... no
checking for fork...
yes
checking for vfork... yes
checking for working fork... (cached)
yes
checking for working vfork... (cached) yes
checking for stdlib.h...
(cached) yes
checking for working malloc... no
checking whether lstat
dereferences a symlink specified with a trailing slash... yes
checking
whether stat accepts an empty string... no
checking for strftime...
yes
checking for statfs... yes
checking for statvfs... yes
checking for
setlocale... yes
checking for getloadavg... no
checking for
pstat_getdynamic... no
checking for kstat_open in -lkstat... no
checking
for elf_begin in -lelf... no
checking for kvm_open in -lkvm... no
checking
for getloadavg in -lutil... no
checking for getloadavg in -lgetloadavg...
no
checking for getloadavg... no
checking sys/dg_sys_info.h usability...
no
checking sys/dg_sys_info.h presence... no
checking for
sys/dg_sys_info.h... no
checking for locale.h... (cached) yes
checking for
setlocale... (cached) yes
checking inq_stats/cpustats.h usability...
no
checking inq_stats/cpustats.h presence... no
checking for
inq_stats/cpustats.h... no
checking sys/cpustats.h usability...
no
checking sys/cpustats.h presence... no
checking for sys/cpustats.h...
no
checking mach/mach.h usability... no
checking mach/mach.h presence...
no
checking for mach/mach.h... no
checking nlist.h usability...
yes
checking nlist.h presence... yes
checking for nlist.h...
yes
checking for struct nlist.n_un.n_name... no
checking whether
getloadavg requires setgid... no
checking for localtime_r... yes
checking
for sys/time.h... (cached) yes
checking for working GNU strftime...
no
checking pid file location... /var/run
configure: WARNING: Architecture
not supported: `uname`.
checking for resource support... enabled
checking
for SSL support... disabled
configure: creating
./config.status
config.status: creating Makefile
config.status: creating
config.h
config.status: config.h is unchanged
monit has been configured with the following
options:
Architecture:
UNKNOWN
SSL support: disabled
resource monitoring:
enabled
resource code:
sysdep_UNKNOWN.c
Compiler flags: -g -D
_REENTRANT
Linker flags: -lresolv
pid file
location: /var/run
# gmake
yacc -dt
p.y
flex -i l.l
cc -c -g -D _REENTRANT -DUNKNOWN -I. -I./device
-I./http -I./process -I./protocols -pthread alert.c -o alert.o
cc -c -g -D
_REENTRANT -DUNKNOWN -I. -I./device -I./http -I./process -I./protocols
-pthread control.c -o control.o
cc -c -g -D _REENTRANT -DUNKNOWN -I.
-I./device -I./http -I./process -I./protocols -pthread daemonize.c -o
daemonize.o
cc -c -g -D _REENTRANT -DUNKNOWN -I. -I./device -I./http
-I./process -I./protocols -pthread env.c -o env.o
cc -c -g -D _REENTRANT
-DUNKNOWN -I. -I./device -I./http -I./process -I./protocols -pthread
event.c -o event.o
cc -c -g -D _REENTRANT -DUNKNOWN -I. -I./device
-I./http -I./process -I./protocols -pthread files.c -o files.o
cc -c -g -D
_REENTRANT -DUNKNOWN -I. -I./device -I./http -I./process -I./protocols
-pthread gc.c -o gc.o
cc -c -g -D _REENTRANT -DUNKNOWN -I. -I./device
-I./http -I./process -I./protocols -pthread getloadavg.c -o getloadavg.o
cc
-c -g -D _REENTRANT -DUNKNOWN -I. -I./device -I./http -I./process
-I./protocols -pthread log.c -o log.o
cc -c -g -D _REENTRANT -DUNKNOWN
-I. -I./device -I./http -I./process -I./protocols -pthread md5.c -o md5.o
cc
-c -g -D _REENTRANT -DUNKNOWN -I. -I./device -I./http -I./process
-I./protocols -pthread monit_http.c -o monit_http.o
cc -c -g -D _REENTRANT
-DUNKNOWN -I. -I./device -I./http -I./process -I./protocols -pthread
monit_process.c -o monit_process.o
cc -c -g -D _REENTRANT -DUNKNOWN -I.
-I./device -I./http -I./process -I./protocols -pthread monitor.c -o
monitor.o
cc -c -g -D _REENTRANT -DUNKNOWN -I. -I./device -I./http
-I./process -I./protocols -pthread net.c -o net.o
cc -c -g -D _REENTRANT
-DUNKNOWN -I. -I./device -I./http -I./process -I./protocols -pthread
sendmail.c -o sendmail.o
cc -c -g -D _REENTRANT -DUNKNOWN -I.
-I./device -I./http -I./process -I./protocols -pthread signal.c -o
signal.o
cc -c -g -D _REENTRANT -DUNKNOWN -I. -I./device -I./http
-I./process -I./protocols -pthread socket.c -o socket.o
cc: Warning:
socket.c, line 405: In this statement, performing pointer arithmetic on a
pointer to void or a pointer to function is not allowed. The compiler will
treat the type as if it were pointer to char.
(badptrarith)
p+= n;
----^
cc: Warning: socket.c,
line 444: In this statement, performing pointer arithmetic on a pointer to void
or a pointer to function is not allowed. The compiler will treat the type
as if it were pointer to char. (badptrarith)
p+=
n;
----^
cc -c -g -D _REENTRANT -DUNKNOWN -I. -I./device -I./http
-I./process -I./protocols -pthread spawn.c -o spawn.o
cc -c -g -D _REENTRANT
-DUNKNOWN -I. -I./device -I./http -I./process -I./protocols -pthread ssl.c
-o ssl.o
cc -c -g -D _REENTRANT -DUNKNOWN -I. -I./device -I./http
-I./process -I./protocols -pthread state.c -o state.o
cc -c -g -D _REENTRANT
-DUNKNOWN -I. -I./device -I./http -I./process -I./protocols -pthread
status.c -o status.o
cc -c -g -D _REENTRANT -DUNKNOWN -I. -I./device
-I./http -I./process -I./protocols -pthread util.c -o util.o
cc -c -g -D
_REENTRANT -DUNKNOWN -I. -I./device -I./http -I./process -I./protocols
-pthread validate.c -o validate.o
cc -c -g -D _REENTRANT -DUNKNOWN -I.
-I./device -I./http -I./process -I./protocols -pthread xmalloc.c -o
xmalloc.o
cc -c -g -D _REENTRANT -DUNKNOWN -I. -I./device -I./http
-I./process -I./protocols -pthread device/common_device.c -o
device/common_device.o
cc -c -g -D _REENTRANT -DUNKNOWN -I. -I./device
-I./http -I./process -I./protocols -pthread http/base64.c -o http/base64.o
cc
-c -g -D _REENTRANT -DUNKNOWN -I. -I./device -I./http -I./process
-I./protocols -pthread http/cervlet.c -o http/cervlet.o
cc -c -g -D
_REENTRANT -DUNKNOWN -I. -I./device -I./http -I./process -I./protocols
-pthread http/engine.c -o http/engine.o
cc -c -g -D _REENTRANT
-DUNKNOWN -I. -I./device -I./http -I./process -I./protocols -pthread
http/http_utils.c -o http/http_utils.o
cc -c -g -D _REENTRANT -DUNKNOWN
-I. -I./device -I./http -I./process -I./protocols -pthread http/processor.c -o
http/processor.o
cc -c -g -D _REENTRANT -DUNKNOWN -I. -I./device
-I./http -I./process -I./protocols -pthread process/common.c -o
process/common.o
cc -c -g -D _REENTRANT -DUNKNOWN -I. -I./device
-I./http -I./process -I./protocols -pthread protocols/default.c -o
protocols/default.o
cc -c -g -D _REENTRANT -DUNKNOWN -I. -I./device
-I./http -I./process -I./protocols -pthread protocols/dwp.c -o
protocols/dwp.o
cc -c -g -D _REENTRANT -DUNKNOWN -I. -I./device
-I./http -I./process -I./protocols -pthread protocols/ftp.c -o
protocols/ftp.o
cc -c -g -D _REENTRANT -DUNKNOWN -I. -I./device
-I./http -I./process -I./protocols -pthread protocols/http.c -o
protocols/http.o
cc -c -g -D _REENTRANT -DUNKNOWN -I. -I./device
-I./http -I./process -I./protocols -pthread protocols/imap.c -o
protocols/imap.o
cc -c -g -D _REENTRANT -DUNKNOWN -I. -I./device
-I./http -I./process -I./protocols -pthread protocols/ldap2.c -o
protocols/ldap2.o
cc -c -g -D _REENTRANT -DUNKNOWN -I. -I./device
-I./http -I./process -I./protocols -pthread protocols/ldap3.c -o
protocols/ldap3.o
cc -c -g -D _REENTRANT -DUNKNOWN -I. -I./device
-I./http -I./process -I./protocols -pthread protocols/nntp.c -o
protocols/nntp.o
cc -c -g -D _REENTRANT -DUNKNOWN -I. -I./device
-I./http -I./process -I./protocols -pthread protocols/pop.c -o
protocols/pop.o
cc -c -g -D _REENTRANT -DUNKNOWN -I. -I./device
-I./http -I./process -I./protocols -pthread protocols/protocol.c -o
protocols/protocol.o
cc -c -g -D _REENTRANT -DUNKNOWN -I. -I./device
-I./http -I./process -I./protocols -pthread protocols/rdate.c -o
protocols/rdate.o
cc -c -g -D _REENTRANT -DUNKNOWN -I. -I./device
-I./http -I./process -I./protocols -pthread protocols/rsync.c -o
protocols/rsync.o
cc -c -g -D _REENTRANT -DUNKNOWN -I. -I./device
-I./http -I./process -I./protocols -pthread protocols/smtp.c -o
protocols/smtp.o
cc -c -g -D _REENTRANT -DUNKNOWN -I. -I./device
-I./http -I./process -I./protocols -pthread protocols/ssh.c -o
protocols/ssh.o
cc -c -g -D _REENTRANT -DUNKNOWN -I. -I./device
-I./http -I./process -I./protocols -pthread device/sysdep_UNKNOWN.c -o
device/sysdep_UNKNOWN.o
cc -c -g -D _REENTRANT -DUNKNOWN -I. -I./device
-I./http -I./process -I./protocols -pthread process/sysdep_UNKNOWN.c -o
process/sysdep_UNKNOWN.o
cc -c -g -D _REENTRANT -DUNKNOWN -I.
-I./device -I./http -I./process -I./protocols -pthread y.tab.c -o y.tab.o
cc
-c -g -D _REENTRANT -DUNKNOWN -I. -I./device -I./http -I./process
-I./protocols -pthread lex.yy.c -o lex.yy.o
cc -c -g -D _REENTRANT
-DUNKNOWN -I. -I./device -I./http -I./process -I./protocols -pthread
external/strftime.c -o external/strftime.o
cc alert.o control.o
daemonize.o env.o event.o files.o gc.o getloadavg.o log.o md5.o monit_http.o
monit_process.o monitor.o net.o sendmail.o signal.o socket.o spawn.o ssl.o
state.o status.o util.o validate.o xmalloc.o device/common_device.o
http/base64.o http/cervlet.o http/engine.o http/http_utils.o http/processor.o
process/common.o protocols/default.o protocols/dwp.o protocols/ftp.o
protocols/http.o protocols/imap.o protocols/ldap2.o protocols/ldap3.o
protocols/nntp.o protocols/pop.o protocols/protocol.o protocols/rdate.o
protocols/rsync.o protocols/smtp.o protocols/ssh.o device/sysdep_UNKNOWN.o
process/sysdep_UNKNOWN.o y.tab.o lex.yy.o external/strftime.o -lfl
-lresolv -o monit
ld:
Unresolved:
pthread_create
pthread_mutex_lock
pthread_mutex_unlock
pthread_detach
pthread_self
pthread_mutex_destroy
pthread_join
pthread_mutex_init
pthread_sigmask
__pthread_mutex_lock
__pthread_mutex_unlock
gmake:
*** [monit] Error 1
- Compiling Monit 4.0 on Tru64 5.1A,
Arneaud, Nick <=