Edgewall Software

Ticket #6305 (closed defect: invalid)

Opened 13 months ago

Last modified 13 months ago

Gkrellm fails on kvm.h

Reported by: kevor Owned by: jonas
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords: tobedeleted
Cc:

Description

Gkrellm fails to build, problem is with kvm.h Found in an xcode file: /*

  • Although Darwin does have a kvm.h file, kvm_openfiles etc. always
  • return null because /dev/kmem was removed completely in OS X 10.5. */

#undef HAVE_KVM_H #undef HAVE_KVM_GETPROCS #undef HAVE_KVM_OPENFILES

The error: port install gkrellm ---> Fetching gkrellm ---> Verifying checksum(s) for gkrellm ---> Extracting gkrellm ---> Configuring gkrellm ---> Building gkrellm with target darwin Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_gkrellm/work/gkrellm-2.3.0" && gnumake darwin " returned error 2 Command output: cc -Wall -O2 -I.. pkg-config --cflags gtk+-2.0 gthread-2.0 -DENABLE_NLS -DLOCALEDIR=\"/opt/local/share/locale\" -DHAVE_GETADDRINFO -I/opt/local/include -L/opt/local/lib -I/opt/local/include -c -o smbmd4.o smbmd4.c cc -Wall -O2 -I.. pkg-config --cflags gtk+-2.0 gthread-2.0 -DENABLE_NLS -DLOCALEDIR=\"/opt/local/share/locale\" -DHAVE_GETADDRINFO -I/opt/local/include -L/opt/local/lib -I/opt/local/include -c -o smbutil.o smbutil.c cc -Wall -O2 -I.. pkg-config --cflags gtk+-2.0 gthread-2.0 -DENABLE_NLS -DLOCALEDIR=\"/opt/local/share/locale\" -DHAVE_GETADDRINFO -I/opt/local/include -L/opt/local/lib -I/opt/local/include -c -o client.o client.c cc -Wall -O2 -I.. pkg-config --cflags gtk+-2.0 gthread-2.0 -DENABLE_NLS -DLOCALEDIR=\"/opt/local/share/locale\" -DHAVE_GETADDRINFO -I/opt/local/include -L/opt/local/lib -I/opt/local/include -c -o utils.o utils.c cc -Wall -O2 -I.. pkg-config --cflags gtk+-2.0 gthread-2.0 -DENABLE_NLS -DLOCALEDIR=\"/opt/local/share/locale\" -DHAVE_GETADDRINFO -I/opt/local/include -L/opt/local/lib -I/opt/local/include -c -o deprecated.o deprecated.c cc -Wall -O2 -I.. pkg-config --cflags gtk+-2.0 gthread-2.0 -DENABLE_NLS -DLOCALEDIR=\"/opt/local/share/locale\" -DHAVE_GETADDRINFO -I/opt/local/include -L/opt/local/lib -I/opt/local/include -c -o winops-x11.o winops-x11.c cc -Wall -O2 -I.. pkg-config --cflags gtk+-2.0 gthread-2.0 -DENABLE_NLS -DLOCALEDIR=\"/opt/local/share/locale\" -DHAVE_GETADDRINFO -I/opt/local/include -L/opt/local/lib -I/opt/local/include -c -o sysdeps-unix.o sysdeps-unix.c In file included from sysdeps-unix.c:34: sysdeps/darwin.c:24:17: error: kvm.h: No such file or directory In file included from sysdeps-unix.c:34: sysdeps/darwin.c:30: error: syntax error before '*' token sysdeps/darwin.c:30: warning: type defaults to 'int' in declaration of 'kvmd' sysdeps/darwin.c:30: warning: data definition has no type or storage class sysdeps/darwin.c: In function 'gkrellm_sys_main_init': sysdeps/darwin.c:40: warning: implicit declaration of function 'kvm_openfiles' sysdeps/darwin.c:40: warning: assignment makes pointer from integer without a cast sysdeps/darwin.c: In function 'gkrellm_sys_cpu_read_data': sysdeps/darwin.c:69: warning: pointer targets in passing argument 3 of 'host_processor_info' differ in signedness sysdeps/darwin.c: In function 'gkrellm_sys_cpu_init': sysdeps/darwin.c:95: warning: pointer targets in passing argument 3 of 'host_processor_info' differ in signedness In file included from sysdeps-unix.c:34: sysdeps/darwin.c: In function 'gkrellm_sys_proc_read_data': sysdeps/darwin.c:158: error: array type has incomplete element type sysdeps/darwin.c:190: warning: implicit declaration of function 'kvm_nlist' sysdeps/darwin.c:192: warning: implicit declaration of function 'kvm_read' sysdeps/darwin.c:158: warning: unused variable 'nl' sysdeps/darwin.c: In function 'gkrellm_sys_proc_read_users': sysdeps/darwin.c:220: warning: 'utmp' is deprecated (declared at /usr/include/utmp.h:97) gnumake[1]: *** [sysdeps-unix.o] Error 1 gnumake: *** [darwin] Error 2

Error: Status 1 encountered during processing.

Attachments

Change History

Changed 13 months ago by eblot

  • status changed from new to closed
  • resolution set to invalid

Wrong Trac

Changed 13 months ago by eblot

  • keywords tobedeleted added

Add/Change #6305 (Gkrellm fails on kvm.h)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from jonas. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.