Charles, On Sat, 2008-02-09 at 01:18, Charles Lepple wrote: > On Feb 8, 2008 1:12 PM, Huge <[EMAIL PROTECTED]> 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... > > > > > > > > [EMAIL PROTECTED] ~/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 > > [EMAIL PROTECTED] ~/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.
I do have Sun's compiler installed as well, if that makes any difference. But there is no CFLAGS environment variable; [EMAIL PROTECTED] ~/prog/nut/nut-2.2.1]: printenv | grep CFLAGS [EMAIL PROTECTED] ~/prog/nut/nut-2.2.1]: > 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. Attached. BTW, so I can get on, I edited the "-xarch=v9" out of the gcc command line in "./drivers/Makefile" and it all compiled correctly. Regards, H.
config.log.gz
Description: GNU Zip compressed data
_______________________________________________ Nut-upsuser mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

