pcmciautils-008 compile doesn't :(

Grant Coady grant_lkml at dodo.com.au
Tue Sep 13 05:53:55 EDT 2005


hi there,
why not compile?
thanks,
Grant.

grant at tosh:~/pcmciautils-008$ make
Building ccdv
Compiling pccardctl.c:                                                [ERROR]
  gcc -pipe -I/home/grant/pcmciautils-008/src -Wall -fno-builtin -Wchar-subscri
  pts -Wpointer-arith -Wsign-compare -Wshadow -I/usr/lib/gcc-lib/i486-slackware
  -linux/3.3.5/include -Os -fomit-frame-pointer -D_GNU_SOURCE -c -o src/pccardc
  tl.o src/pccardctl.c
  src/pccardctl.c:22:28: sysfs/libsysfs.h: No such file or directory
  src/pccardctl.c: In function `pccardctl_echo_one':
  src/pccardctl.c:32: error: `SYSFS_PATH_MAX' undeclared (first use in this fun
  ction)
  src/pccardctl.c:32: error: (Each undeclared identifier is reported only once

  src/pccardctl.c:32: error: for each function it appears in.)
  src/pccardctl.c:41: warning: implicit declaration of function `sysfs_open_att
  ribute'
  src/pccardctl.c:41: warning: assignment makes pointer from integer without a
  cast
  src/pccardctl.c:45: warning: implicit declaration of function `sysfs_write_at
  tribute'
  src/pccardctl.c:47: warning: implicit declaration of function `sysfs_close_at
  tribute'
  src/pccardctl.c:32: warning: unused variable `file'
  src/pccardctl.c: In function `pccardctl_socket_exists':
  src/pccardctl.c:54: error: `SYSFS_PATH_MAX' undeclared (first use in this fun
  ction)
  src/pccardctl.c:60: warning: implicit declaration of function `sysfs_path_is_
  file'
  src/pccardctl.c:54: warning: unused variable `file'
  src/pccardctl.c: In function `pccardctl_get_string':
  src/pccardctl.c:66: error: `SYSFS_PATH_MAX' undeclared (first use in this fun
  ction)
  src/pccardctl.c:72: warning: implicit declaration of function `sysfs_read_att
  ribute_value'
  src/pccardctl.c:66: warning: unused variable `value'
  src/pccardctl.c:67: warning: unused variable `file'
  src/pccardctl.c: In function `pccardctl_get_one':
  src/pccardctl.c:93: error: `SYSFS_PATH_MAX' undeclared (first use in this fun
  ction)
  src/pccardctl.c:93: warning: unused variable `value'
  src/pccardctl.c:94: warning: unused variable `file'
  src/pccardctl.c: In function `pccardctl_ident':
  src/pccardctl.c:127: error: `SYSFS_PATH_MAX' undeclared (first use in this fu
  nction)
  src/pccardctl.c:127: warning: unused variable `file'
  src/pccardctl.c: In function `pccardctl_info':
  src/pccardctl.c:168: error: `SYSFS_PATH_MAX' undeclared (first use in this fu
  nction)
  src/pccardctl.c:168: warning: unused variable `file'
make: *** [src/pccardctl.o] Error 1




More information about the linux-pcmcia mailing list