[Nut-upsuser] Building NUT 2.2.1 under Solaris 10 (SPARC)

Charles Lepple clepple at gmail.com
Sat Feb 9 01:18:13 UTC 2008


On Feb 8, 2008 1:12 PM, Huge <huge at huge.org.uk> wrote:
> I'm trying to build NUT 2.2.1 on a SunBlade 2000 running Solaris 10
> (Solaris 10 11/06 s10s_u3wos_10 SPARC) It won't compile. I'm not a
> programmer, so I'm afraid I don't know why...
>
>
>
> [huge at anubis ~/Prog/nut/nut-2.2.1]: ./configure --with-user=ups
> --with-group=nutNetwork UPS Tools version 2.2.1
> checking build system type... sparc-sun-solaris2.10
> checking host system type... sparc-sun-solaris2.10
> checking target system type... sparc-sun-solaris2.10
> .
> .
> .
> Configuration summary:
> enable SSL development code: yes
> enable IPv6 support: yes
> build CGI programs: no
> build upsclient library: no
> build serial drivers: yes
> build SNMP drivers: yes
> build USB drivers: libusb-based drivers only
> enable HAL support: no
> [huge at anubis ~/Prog/nut/nut-2.2.1]: make
[...]
> if gcc -DHAVE_CONFIG_H -I. -I. -I../include     -I../include
> -I/usr/sfw/include  -Dsolaris_2 -xarch=v9 -Dsolaris2 -I.
> -I/usr/sfw/include  -O -Wall -Wsign-compare -MT al175.o -MD -MP -MF
> ".deps/al175.Tpo" -c -o al175.o al175.c; \
> then mv -f ".deps/al175.Tpo" ".deps/al175.Po"; else rm -f
> ".deps/al175.Tpo"; exit 1; fi
> gcc: language arch=v9 not recognized

Do you have a custom CFLAGS environment variable that includes
"-xarch=v9"? (That sounds like it is either for a different version of
gcc, or it is for Sun's C compiler instead.

Can you gzip and attach the config.log? If the gzipped version is more
than 30KB or so, just email it to me off-list and I'll post the
relevant parts.

-- 
- Charles Lepple



More information about the Nut-upsuser mailing list