3.14.4 compile error FC4

View: New views
2 Messages — Rating Filter:   Alert me  

3.14.4 compile error FC4

by Robert Serphillips :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

root@...<6>~/apcupsd-3.14.4: make
        src
        src/lib
        src/drivers
        src/drivers/apcsmart
        src/drivers/dumb
        src/drivers/net
        src/drivers/pcnet
        src/drivers/usb
        src/drivers/usb/linux
        src/cgi
  LD    src/cgi/multimon.cgi
/usr/bin/ld: cannot find -lsupc++
collect2: ld returned 1 exit status
make[3]: *** [multimon.cgi] Error 1
make[2]: *** [all] Error 2
make[1]: *** [cgi_DIR] Error 2
make: *** [src_DIR] Error 2



What is supc++

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Apcupsd-users mailing list
Apcupsd-users@...
https://lists.sourceforge.net/lists/listinfo/apcupsd-users

Re: 3.14.4 compile error FC4

by Adam Kropelin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Robert Serphillips wrote:

> root@...<6>~/apcupsd-3.14.4: make
>        src
>        src/lib
>        src/drivers
>        src/drivers/apcsmart
>        src/drivers/dumb
>        src/drivers/net
>        src/drivers/pcnet
>        src/drivers/usb
>        src/drivers/usb/linux
>        src/cgi
>  LD    src/cgi/multimon.cgi
> /usr/bin/ld: cannot find -lsupc++
> collect2: ld returned 1 exit status
> make[3]: *** [multimon.cgi] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [cgi_DIR] Error 2
> make: *** [src_DIR] Error 2
>
> What is supc++

It's a minimal static C++ library, required on gcc-3.x and higher. The
configure script checks to see if you need it, so if you have an old gcc
(2.x) it should not be using it. Can you send the output of './configure'
as well as 'make VERBOSE=1' afterwards?

--Adam


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Apcupsd-users mailing list
Apcupsd-users@...
https://lists.sourceforge.net/lists/listinfo/apcupsd-users