monit-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FreeBSD - HELP!


From: Jan-Henrik Haukeland
Subject: FreeBSD - HELP!
Date: 06 Sep 2002 20:09:02 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Civil Service)

The process code does abosulutely not compile on FreeBSD! - probably
missing includes and missing variables and wrong calls. Rory didn't
you say you have a FreeBSD system? Do you have time to check it out?
Please :)

gcc -c -g -O2 -Wall -DFREEBSD   -I. -I./protocols -I./http -I./process  
process/sysdep.c -o process/sysdep.o
In file included from process/sysdep.c:66:
/usr/include/vm/vm_map.h:110: syntax error before `vm_prot_t'
/usr/include/vm/vm_map.h:161: field `lock' has incomplete type
/usr/include/vm/vm_map.h:166: syntax error before `vm_map_entry_t'
/usr/include/vm/vm_map.h:168: syntax error before `vm_map_entry_t'
/usr/include/vm/vm_map.h:181: field `vm_pmap' has incomplete type
/usr/include/vm/vm_map.h:268: syntax error before `map'
/usr/include/vm/vm_map.h: In function `_vm_map_lock_upgrade':
/usr/include/vm/vm_map.h:273: warning: implicit declaration of function 
`lockmgr'
/usr/include/vm/vm_map.h:273: `map' undeclared (first use in this function)
/usr/include/vm/vm_map.h:273: (Each undeclared identifier is reported only once
/usr/include/vm/vm_map.h:273: for each function it appears in.)
/usr/include/vm/vm_map.h:273: `LK_EXCLUPGRADE' undeclared (first use in this 
function)
/usr/include/vm/vm_map.h:273: `p' undeclared (first use in this function)
/usr/include/vm/vm_map.h: In function `vmspace_pmap':
/usr/include/vm/vm_map.h:316: warning: control reaches end of non-void function
/usr/include/vm/vm_map.h: In function `vmspace_resident_count':
/usr/include/vm/vm_map.h:321: warning: implicit declaration of function 
`pmap_resident_count'
process/sysdep.c: In function `init_process_info_sysdep':
process/sysdep.c:328: `nlst' undeclared (first use in this function)
process/sysdep.c:335: structure has no member named `v_kernel_pages'
process/sysdep.c: In function `get_process_info_sysdep':
process/sysdep.c:346: `USRSTACK' undeclared (first use in this function)
process/sysdep.c:347: storage size of `pstats' isn't known
process/sysdep.c:348: storage size of `plimit' isn't known
process/sysdep.c:374: arithmetic on pointer to an incomplete type
process/sysdep.c:374: dereferencing pointer to incomplete type
process/sysdep.c:375: arithmetic on pointer to an incomplete type
process/sysdep.c:375: dereferencing pointer to incomplete type
process/sysdep.c:376: dereferencing pointer to incomplete type
process/sysdep.c:380: warning: implicit declaration of function `calcru'
process/sysdep.c:380: arithmetic on pointer to an incomplete type
process/sysdep.c:380: dereferencing pointer to incomplete type
process/sysdep.c:383: warning: implicit declaration of function `tv2sec'
process/sysdep.c:416: arithmetic on pointer to an incomplete type
process/sysdep.c:416: dereferencing pointer to incomplete type
process/sysdep.c:423: `rss_rlim' undeclared (first use in this function)
process/sysdep.c:426: arithmetic on pointer to an incomplete type
process/sysdep.c:426: dereferencing pointer to incomplete type
process/sysdep.c:434: arithmetic on pointer to an incomplete type
process/sysdep.c:434: dereferencing pointer to incomplete type
process/sysdep.c:357: warning: unused variable `rss_lim'
process/sysdep.c:356: warning: unused variable `stat_rss'
process/sysdep.c:348: warning: unused variable `plimit'
process/sysdep.c:347: warning: unused variable `pstats'
process/sysdep.c:349: warning: `vms' might be used uninitialized in this 
function
process/sysdep.c:350: warning: `rup' might be used uninitialized in this 
function

-- 
Jan-Henrik Haukeland




reply via email to

[Prev in Thread] Current Thread [Next in Thread]