SUMMARY: pidentd-3.0.18 on Solaris 10

From: Willi Burmeister <wib_at_informatik.uni-kiel.de>
Date: Fri Feb 11 2005 - 06:48:08 EST
Hi,

I tried to compile pidentd-3.0.18 on my Sparc Solaris 10 system and failed.

Casper came with a patch, and now identd is up and running.

Thanks for this very quick answer.

Willi

----------------------------------------------------------------------
*** /export/data/src/in.identd/pidentd-3.0.16/src/k_sunos510.c	Thu Oct 23 12:39:10 2003
--- /export/data/src/in.identd/pidentd-3.0.18/src/k_sunos510.c	Tue Nov  2 11:01:19 2004
***************
*** 38,43 ****
--- 38,45 ----
  #define mutex_destroy	kernel_mutex_destroy
  #define sema_init	kernel_sema_init
  #define sema_destroy	kernel_sema_destroy
+ #define ffs		kernel_ffs
+ #define ka_init		kernel_ka_init
  
  #include <syslog.h>
  
***************
*** 84,89 ****
--- 86,93 ----
  #undef mutex_destroy
  #undef sema_init
  #undef sema_destroy
+ #undef ffs
+ #undef ka_init
  
  #undef SEMA_HELD
  #undef RW_LOCK_HELD
***************
*** 96,101 ****
--- 100,107 ----
  #define N_FANOUT 0
  #define N_HASH_SIZE 1
  
+ static int getbuf(kvm_t *, off_t, void *, size_t, char *);
+ 
  struct kainfo
  {
      kvm_t *kd;
***************
*** 180,186 ****
  ** Returns 1 if call succeeded, else 0 (zero).
  */
  static int
! getbuf(kvm_t *kd, off_t addr, char *buf, size_t len, char *what)
  {
      int i;
      ssize_t status;
--- 186,192 ----
  ** Returns 1 if call succeeded, else 0 (zero).
  */
  static int
! getbuf(kvm_t *kd, off_t addr, void *buf, size_t len, char *what)
  {
      int i;
      ssize_t status;

----------------------------------------------------------------------
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Feb 11 06:54:45 2005

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:43 EST