pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: HELP! Problem building ORBit2 from 2008Q4 on NetBSD 3.1



>  Status:   
>  
>  Paul Newhouse schrieb:
>  > $ cc ... -DG_DISABLE_DEPRECATED ... -c orbit-idl-driver.c
>  > orbit-idl-driver.c: In function `orbit_idl_tree_fake_ops':
>  > orbit-idl-driver.c:43: error: `G_GNUC_PRETTY_FUNCTION' undeclared (first 
> use 
>  > in this function)
>  
>  The GLib2 authors thought that G_GNUC_PRETTY_FUCTION should not be used
>  anymore (see /usr/pkg/include/glib/glib-2.0/glib/gmacros.h), so they
>  don't define it if G_DISABLE_DEPRECATED is defined.
>  
>  You can work around that by adding CFLAGS+=-UG_DISABLE_DEPRECATED to
>  your mk.conf file.

Ok, I added that.

>  To approach the real problem: What does "pkg_info -e libIDL" say? 

  # pkg_info -e libIDL
  libIDL-0.8.12


>  For me, it's libIDL-0.8.11. If you have an older version, please have a look
>  in </usr/pkg/include/libIDL-2.0/libIDL/IDL.h>, which defines the macro
>  IDL_CHECK_CAST. Does that definition use the deprecated
>  G_GNUC_PRETTY_FUNCTION, or just G_STRFUNC? I'm just guessing, but that
>  may be the cause. See also:
>  
>      http://svn.gnome.org/viewvc/libIDL?view=revision&revision=585
>  
>  Roland


Thanks, it got past the first problem, but now it complains about (-Wextra):

if cc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/pkg/include 
-I/usr/pkg/include/python2.4 -I/usr/include -I./.. -I.. 
-I/usr/pkg/include/telepathy-1.0 -I/usr/pkg/include/dbus-1.0 
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include 
-I/usr/pkg/lib/dbus-1.0/include   -Wno-deprecated-declarations -Wall -Wextra 
-O2 -UG_DISABLE_DEPRECATED -I/usr/pkg/include -I/usr/pkg/include/python2.4 
-I/usr/include -MT everything-everything.o -MD -MP -MF 
".deps/everything-everything.Tpo" -c -o everything-everything.o `test -f 
'everything.c' || echo './'`everything.c; \
        then mv -f ".deps/everything-everything.Tpo" 
".deps/everything-everything.Po"; else rm -f ".deps/everything-everything.Tpo";
 exit 1; fi
cc1: error: unrecognized option `-Wextra'  
gmake[4]: *** [everything-everything.o] Error 1
gmake[4]: Leaving directory `/usr/pkgsrc/chat/libtelepathy/work/libtelepathy-0.
3.3/src/check-compat'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/pkgsrc/chat/libtelepathy/work/libtelepathy-0.
3.3/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/pkgsrc/chat/libtelepathy/work/libtelepathy-0.
3.3/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/chat/libtelepathy/work/libtelepathy-0.
3.3'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/chat/libtelepathy
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/chat/libtelepathy
bigbox# pkg_info -e libIDL
libIDL-0.8.12
bigbox# pwd
/usr/pkgsrc/chat/libtelepathy




Home | Main Index | Thread Index | Old Index