Pickering, Roger (NIH/NIAAA) [E]
2016-12-05 19:08:36 UTC
I need to be able to connect my Solaris server to my APC Smart UPS, but my Solaris server doesn't have a serial port and the Power Chute software doesn't support the USB port in Solaris.
I've tried several times to compile your code with USB support, but I get an incredible amount of errors:
"/opt/csw/apc/apcupsd-3.14.14/include/struct.h", line 206: warning: no explicit type given
"/opt/csw/apc/apcupsd-3.14.14/include/struct.h", line 206: syntax error before or at: {
"/opt/csw/apc/apcupsd-3.14.14/include/struct.h", line 206: warning: syntax error: empty declaration
"/opt/csw/apc/apcupsd-3.14.14/include/struct.h", line 207: parameter not in identifier list: bool
"/opt/csw/apc/apcupsd-3.14.14/include/struct.h", line 207: syntax error before or at: is_onbatt_msg
"/opt/csw/apc/apcupsd-3.14.14/include/struct.h", line 207: parameter not in identifier list: is_onbatt_msg
"/opt/csw/apc/apcupsd-3.14.14/include/struct.h", line 207: warning: no explicit type given
"/opt/csw/apc/apcupsd-3.14.14/include/struct.h", line 207: syntax error before or at: {
"/opt/csw/apc/apcupsd-3.14.14/include/struct.h^Cgmake[3]: *** Deleting file '.obj/apcerror.o'
I'm running Solaris 10 on a SUN Fire, x4250. The UPS is a SmartUPS 1000.
Roger P. Pickering | Staff Scientist
Laboratory of Epidemiology and Biometry
Division of Intramural Clinical and Biological Research
National Institute on Alcohol Abuse and Alcoholism
National Institutes of Health
5635 Fishers Lane, Room 3071, Bethesda, MD 20892-9304
Phone: 301-443-2535 Fax 301-443-1400
[Description: cid:***@01CE36B4.03770CF0]
I've tried several times to compile your code with USB support, but I get an incredible amount of errors:
"/opt/csw/apc/apcupsd-3.14.14/include/struct.h", line 206: warning: no explicit type given
"/opt/csw/apc/apcupsd-3.14.14/include/struct.h", line 206: syntax error before or at: {
"/opt/csw/apc/apcupsd-3.14.14/include/struct.h", line 206: warning: syntax error: empty declaration
"/opt/csw/apc/apcupsd-3.14.14/include/struct.h", line 207: parameter not in identifier list: bool
"/opt/csw/apc/apcupsd-3.14.14/include/struct.h", line 207: syntax error before or at: is_onbatt_msg
"/opt/csw/apc/apcupsd-3.14.14/include/struct.h", line 207: parameter not in identifier list: is_onbatt_msg
"/opt/csw/apc/apcupsd-3.14.14/include/struct.h", line 207: warning: no explicit type given
"/opt/csw/apc/apcupsd-3.14.14/include/struct.h", line 207: syntax error before or at: {
"/opt/csw/apc/apcupsd-3.14.14/include/struct.h^Cgmake[3]: *** Deleting file '.obj/apcerror.o'
I'm running Solaris 10 on a SUN Fire, x4250. The UPS is a SmartUPS 1000.
Roger P. Pickering | Staff Scientist
Laboratory of Epidemiology and Biometry
Division of Intramural Clinical and Biological Research
National Institute on Alcohol Abuse and Alcoholism
National Institutes of Health
5635 Fishers Lane, Room 3071, Bethesda, MD 20892-9304
Phone: 301-443-2535 Fax 301-443-1400
[Description: cid:***@01CE36B4.03770CF0]