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

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

by Trey Blancher :: Rate this Message:

Reply to Author | View in Thread

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

We'd need more of that first make error;  that one line isn't enough to
diagnose.  And continuing past that error won't work, as you've noticed.


JollyRoger wrote:

> 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
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEVAwUBRPbDtZ76rTZSI4F7AQIgIAf+LHEQOpY3vaOxaM4EW4hR8Q3P3Fgegoz1
zSlk3A3Oo0FxEgzteMTGRtboetSqj7ayWzpdsfR8QLHKNkTuhiGt3fu5bs6B+W2H
LaGmsMbWeyHTxXv22zvd/6fb0oX2Kc03rd+i4kNkIzmd4L5U8E9ODM1XcRUfCKGR
pYu9pNxfyTWQe+YHcQ4lEe1e2bmoBy8q7vv+c3C0gmyGxaDaLQQaqwqBkL/ZRjow
eVgE0U01ozqE7nWNkB4bIO1a6SFp1ZHz07smpqnGz996fCF/q6Jq5kO94qMsK7Ur
fRKHmgIfQM2kRf/2PCQk8gCINaJiSSvW8BwxcpQdMMqBQO2UXc6LcA==
=uwKB
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
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