pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/36018: devel/glib2 from 2006Q4 will not compile on solaris express
The following reply was made to PR pkg/36018; it has been noted by GNATS.
From: Gilles Dauphin <Gilles.Dauphin%enst.fr@localhost>
To: pkg-manager%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost,
pkgsrc-bugs%NetBSD.org@localhost, gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/36018: devel/glib2 from 2006Q4 will not compile on solaris
express
Date: Fri, 16 Mar 2007 11:53:06 +0100 (CET)
/usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/include/sys/types.h:45,
> from giounix.c:38:
> /usr/include/sys/feature_tests.h:353:2: #error "Compiler or options invalid
for pre-UNIX 03 X/Open applications and pre-2001 POSIX applications"
>
> [wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
> /usr/pkgsrc/devel/glib2/work/.gcc/bin/gcc -DHAVE_CONFIG_H -I. -I..
"-DG_LOG_DOMAIN=\"GLib\"" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED
-DGLIB_COMPILATION "-DPREFIX=\"/usr/pkg\"" "-DPKGLOCALEDIR=\"lib\""
"-DPKG_SYSCONFDIR=\"/usr/pkg/etc\""
-I/usr/pkgsrc/devel/glib2/work/.buildlink/include -D_REENTRANT -O -Wall -MT
giounix.lo -MD -MP -MF .deps/giounix.Tpo -c giounix.c -fPIC -DPIC -o
.libs/giounix.o -std=gnu99 -L/usr/pkgsrc/devel/glib2/work/.buildlink/lib
>
> [wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
> /usr/pkg/bin/libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I..
"-DG_LOG_DOMAIN=\"GLib\"" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED
-DGLIB_COMPILATION "-DPREFIX=\"/usr/pkg\"" "-DPKGLOCALEDIR=\"lib\""
"-DPKG_SYSCONFDIR=\"/usr/pkg/etc\""
-I/usr/pkgsrc/devel/glib2/work/.buildlink/include -D_REENTRANT -O -Wall -MT
giounix.lo -MD -MP -MF .deps/giounix.Tpo -c -o giounix.lo giounix.c
> >Fix:
> none that I'm aware of.
Problem is with c99
for Solaris change this line:
USE_LANGUAGES= c c++ c99
to
USE_LANGUAGES= c c++
Gilles
Home |
Main Index |
Thread Index |
Old Index