APM? Does it work?

Is anyone using the free (and unsupported) APM stuff from the
QNX free software area?

I downloaded the APM 1.3 stuff, but the apm server exits right
away with no error messages. Attempts to recompile it all are
thwarted by some errors (I have the most recent PatchB for
wcc, which is still a couple of years old).

init.c(59): Error! E1031: Name ‘code_size_32’ not found in struct/union _proc_apmbios_data
init.c(61): Error! E1031: Name ‘code_size_16’ not found in struct/union _proc_apmbios_data
init.c(63): Error! E1031: Name ‘code_para_32’ not found in struct/union _proc_apmbios_data
init.c(63): Error! E1031: Name ‘code_para_16’ not found in struct/union _proc_apmbios_data
init.c(65): Error! E1031: Name ‘data_size’ not found in struct/union _proc_apmbios_data
init.c(68): Error! E1031: Name ‘code_para_32’ not found in struct/union _proc_apmbios_data
init.c(71): Error! E1031: Name ‘code_para_16’ not found in struct/union _proc_apmbios_data
init.c(75): Error! E1031: Name ‘data_para’ not found in struct/union _proc_apmbios_data
init.c(161): Error! E1031: Name ‘flags’ not found in struct/union _proc_apmbios_data
init.c(161): Error! E1031: Name ‘version’ not found in struct/union _proc_apmbios_data
init.c(184): Error! E1031: Name ‘entry_32’ not found in struct/union _proc_apmbios_data
init.c(188): Error! E1031: Name ‘pm_cseg’ not found in struct/union _proc_pm_control
init.c(189): Error! E1031: Name ‘pm_dseg’ not found in struct/union _proc_pm_control
init.c(190): Error! E1031: Name ‘pm_doze’ not found in struct/union _proc_pm_control
init.c(191): Error! E1031: Name ‘pm_wake’ not found in struct/union _proc_pm_control
init.c(192): Error! E1031: Name ‘pm_state’ not found in struct/union _proc_pm_control
init.c(192): Error! E1011: Symbol ‘_PROC_PM_VALID’ has not been declared
init.c(192): Error! E1011: Symbol ‘_PROC_PM_ENABLED’ has not been declared

From memory, you need a new proc.h. I beleive the missing
structure/symbols are in the APM archive and you must add
them to the original include file.

I remember getting it to compile, but it wouldn’t do anything
on my laptop.

I can try to dig out it if your stuck.

“Ken Schumm” <kwschumm@qsolv.com> wrote in message
news:Voyager.010311165434.18282B@dilbert…

Is anyone using the free (and unsupported) APM stuff from the
QNX free software area?

I downloaded the APM 1.3 stuff, but the apm server exits right
away with no error messages. Attempts to recompile it all are
thwarted by some errors (I have the most recent PatchB for
wcc, which is still a couple of years old).

init.c(59): Error! E1031: Name ‘code_size_32’ not found in struct/union
_proc_apmbios_data
init.c(61): Error! E1031: Name ‘code_size_16’ not found in struct/union
_proc_apmbios_data
init.c(63): Error! E1031: Name ‘code_para_32’ not found in struct/union
_proc_apmbios_data
init.c(63): Error! E1031: Name ‘code_para_16’ not found in struct/union
_proc_apmbios_data
init.c(65): Error! E1031: Name ‘data_size’ not found in struct/union
_proc_apmbios_data
init.c(68): Error! E1031: Name ‘code_para_32’ not found in struct/union
_proc_apmbios_data
init.c(71): Error! E1031: Name ‘code_para_16’ not found in struct/union
_proc_apmbios_data
init.c(75): Error! E1031: Name ‘data_para’ not found in struct/union
_proc_apmbios_data
init.c(161): Error! E1031: Name ‘flags’ not found in struct/union
_proc_apmbios_data
init.c(161): Error! E1031: Name ‘version’ not found in struct/union
_proc_apmbios_data
init.c(184): Error! E1031: Name ‘entry_32’ not found in struct/union
_proc_apmbios_data
init.c(188): Error! E1031: Name ‘pm_cseg’ not found in struct/union
_proc_pm_control
init.c(189): Error! E1031: Name ‘pm_dseg’ not found in struct/union
_proc_pm_control
init.c(190): Error! E1031: Name ‘pm_doze’ not found in struct/union
_proc_pm_control
init.c(191): Error! E1031: Name ‘pm_wake’ not found in struct/union
_proc_pm_control
init.c(192): Error! E1031: Name ‘pm_state’ not found in struct/union
_proc_pm_control
init.c(192): Error! E1011: Symbol ‘_PROC_PM_VALID’ has not been declared
init.c(192): Error! E1011: Symbol ‘_PROC_PM_ENABLED’ has not been declared

\