[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FreeBSD - HELP!
From: |
Rory Toma |
Subject: |
Re: FreeBSD - HELP! |
Date: |
06 Sep 2002 15:07:43 -0700 |
OK, I'm knocking these down, one by one. However, I can't seem to find
any reference to the variable "nlst" in process/sysdep.c. It appears
this variable shows up exactly once and is never declared. Furthermore,
I can't find any reference to it in either Linux or FreeBSD include
files.
So, where is this defined?
On Fri, 2002-09-06 at 11:09, Jan-Henrik Haukeland wrote:
>
> 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
>
>
> _______________________________________________
> Monit-dev mailing list
> address@hidden
> http://mail.freesoftware.fsf.org/mailman/listinfo/monit-dev
>
--
Rory Toma address@hidden
VP of Run Level 5 http://www.trs80.net
Digeo Digital http://www.digeo.com
signature.asc
Description: This is a digitally signed message part
- FreeBSD - HELP!, Jan-Henrik Haukeland, 2002/09/06
- Re: FreeBSD - HELP!, Rory Toma, 2002/09/06
- Re: FreeBSD - HELP!,
Rory Toma <=
- Re: FreeBSD - HELP!, Jan-Henrik Haukeland, 2002/09/06
- Re: FreeBSD - HELP!, Christian Hopp, 2002/09/09
- Re: FreeBSD - HELP!, Rory Toma, 2002/09/09
- Re: FreeBSD - HELP!, Rory Toma, 2002/09/09
- Re: FreeBSD - HELP!, Jan-Henrik Haukeland, 2002/09/09
- Re: FreeBSD - HELP!, rory, 2002/09/09
- Re: FreeBSD - HELP!, Christian Hopp, 2002/09/10
- Re: FreeBSD - HELP!, Rory Toma, 2002/09/10
- Re: FreeBSD - HELP!, Jan-Henrik Haukeland, 2002/09/11
- Re: FreeBSD - HELP!, rory, 2002/09/11