« Return to Thread: apcupsd-3.13.8 on Darwin with GCC 4.0.1 - Error during make, make install

apcupsd-3.13.8 on Darwin with GCC 4.0.1 - Error during make, make install

by Jollyroger-2 :: Rate this Message:

Reply to Author | View in Thread

Hi Adam, everyone else,

Yesterday I excitedly grabbed 3.13.8 to try it out on my Power Mac G5 at
work and it compiled and runs beautifully.  = )  I'm stoked - I absolutely
*love* apcupsd!

Unfortunately, tonight I'm not having as much luck here at home with a
similar Power Mac G5.   : /

Using the development release apcupsd-3.13.8, on Darwin 8.7.0 Kernel Version
8.7.0, with Xcode 2.3 installed (powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1
(Apple Computer, Inc. build 5341)), I configure with:

./configure --enable-usb --enable-net --enable-pthreads --with-upstype=usb
--with-upscable=usb

...which goes fine. Then make - I got one error from make:

make[1]: ***
[/Users/jr/Desktop/apcupsd/apcupsd-3.13.8/src/drivers/libdrivers.a] Error 2

I ignored that error and did a 'sudo make install', and got these messages
of interest:

/usr/bin/ld: warning prebinding disabled because of undefined symbols
/usr/bin/ld: Undefined symbols:
attach_driver(UPSINFO*)
collect2: ld returned 1 exit status
make[1]: *** [apcupsd] Error 1

After that, when I tried did:

# sudo SystemStarter start "APC UPS monitor"

I got:

Checking disks
/Library/StartupItems/apcupsd/apcupsd: line 19: /sbin/apcupsd: No such file
or directory

So I checked, and indeed, it's MIA:

# ls -al /sbin/
total 4864
drwxr-xr-x   65 root  wheel         2K Jun 30 21:25 .
drwxrwxr-t   36 root  admin         1K Aug 30 20:41 ..
-rwxr-xr-x    1 root  wheel        36K May  3 14:04 SystemStarter
-r-xr-xr-x    1 root  wheel        29K Mar 24  2005 autodiskmount
-r-xr-xr-x    1 root  wheel        18K Mar 20  2005 clri
-r-xr-xr-x    1 root  wheel        27K Mar 20  2005 disklabel
(snip)

Any ideas?

-JR



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Apcupsd-users mailing list
Apcupsd-users@...
https://lists.sourceforge.net/lists/listinfo/apcupsd-users

 « Return to Thread: apcupsd-3.13.8 on Darwin with GCC 4.0.1 - Error during make, make install