[Lcdproc] lcdproc on OpenBSD 5.0 amd64 (i386/apmvar.h not found)

ML mail mlnospam at yahoo.com
Wed Nov 16 09:05:47 UTC 2011


Hi,

I am trying to compile lcdproc 0.5.5 on OpenBSD 5.0 (amd64) using the following commands:

./configure --prefix=/usr/local/lcdproc --enable-drivers=hd44780
gmake

Unfortunately it fails because it can't find the file i386/apmvar.h as you can see below. So I was wondering if maybe lcdproc only works on the i386 version of OpenBSD ? Or is there a way of getting lcdproc to compile on the amd64 version of OpenBSD?

Many thanks in advance for your help.

Best regards,
ML


machine_OpenBSD.c:53:25: error: i386/apmvar.h: No such file or directory
machine_OpenBSD.c: In function 'machine_get_battstat':
machine_OpenBSD.c:92: error: storage size of 'api' isn't known
machine_OpenBSD.c:104: error: 'APM_IOC_GETPOWER' undeclared (first use in this function)
machine_OpenBSD.c:104: error: (Each undeclared identifier is reported only once
machine_OpenBSD.c:104: error: for each function it appears in.)
machine_OpenBSD.c:112: error: 'APM_AC_OFF' undeclared (first use in this function)
machine_OpenBSD.c:115: error: 'APM_AC_ON' undeclared (first use in this function)
machine_OpenBSD.c:125: error: 'APM_BATT_HIGH' undeclared (first use in this function)
machine_OpenBSD.c:128: error: 'APM_BATT_LOW' undeclared (first use in this function)
machine_OpenBSD.c:131: error: 'APM_BATT_CRITICAL' undeclared (first use in this function)
machine_OpenBSD.c:134: error: 'APM_BATT_CHARGING' undeclared (first use in this function)
machine_OpenBSD.c:137: error: 'APM_BATTERY_ABSENT' undeclared (first use in this function)
machine_OpenBSD.c:92: warning: unused variable 'api'
machine_OpenBSD.c: In function 'machine_get_procs':
machine_OpenBSD.c:297: warning: passing argument 4 of 'kvm_getprocs' makes integer from pointer without a cast
machine_OpenBSD.c:297: error: too few arguments to function 'kvm_getprocs'
machine_OpenBSD.c:314: error: 'struct kinfo_proc' has no member named 'kp_proc'
machine_OpenBSD.c:316: error: 'struct kinfo_proc' has no member named 'kp_eproc'
machine_OpenBSD.c:316: error: 'struct kinfo_proc' has no member named 'kp_eproc'
machine_OpenBSD.c:316: error: 'struct kinfo_proc' has no member named 'kp_eproc'
machine_OpenBSD.c:317: error: 'struct kinfo_proc' has no member named 'kp_proc'
gmake[3]: *** [machine_OpenBSD.o] Error 1
gmake[3]: Leaving directory `/home/mbadm/source/lcdproc-0.5.5/clients/lcdproc'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/home/mbadm/source/lcdproc-0.5.5/clients'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/mbadm/source/lcdproc-0.5.5'
gmake: *** [all] Error 2



More information about the LCDproc mailing list