[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gabber-discuss
Subject:    Re: [Gabber] gabber-0.8.7.10 build error
From:       Julian Missig <julian () jabber ! org>
Date:       2002-09-12 14:56:30
[Download RAW message or body]

I couldn't even get gnomemm built with gcc 3.2...

Anyway, the quick and easy solution is to just disable SSL. Otherwise, 
you can go through and remove /usr/include/ from all of the -I 
includes. Apparently OpenSSL isn't normally compatible with the newer 
gcc's, but they ship with fixed headers or something... having -I 
/usr/include overrides it, and all of Gabber's dependencies put 
/usr/include in.

Julian

On Thursday, Sep 12, 2002, at 10:35 US/Eastern, Vitaly Ostanin wrote:

> Hello, All!
>
> I'm try to pack gabber-0.8.7.10 into rpm.
>
> I'm using gcc3.2 and have error with SSLAdapter.cc
> (see attached log).
>
> $ rpm -qf /usr/include/unistd.h
> glibc-devel-2.2.6-alt0.2
> $ rpm -qf /usr/include/openssl/des.h
> openssl-devel-0.9.6g-alt1
>
> Installed all required libraries for build.
>
> Please, help me - where is the problem ?
>
> -- 
> Regards, Vyt
> mailto:  vyt@vzljot.ru
> JID:     vyt@vzljot.ru
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../jabberoo/libjudo/src/expat 
> -I../jabberoo/libjudo/src -I../jabberoo/i
> nclude -I/usr/include/libglade-1.0 -I/usr/include/gnome-xml 
> -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/u
> sr/lib/gnome-libs/include -I/usr/include/gtk-1.2 
> -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/i
> nclude -I/usr/lib/gnomemm/include -I/usr/include 
> -I/usr/lib/sigc++-1.0/include -I/usr/include/sigc++-1.0 -I/usr
> /lib/gtkmm/include -I/usr/include/gdk-pixbuf-1.0 
> -I/usr/include/freetype2 -I/usr/include/xmms -I/usr/include/gt
> k-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include 
> -I/usr/X11R6/include -DWITH_SSL -DG_LOG_DOMAIN=\"Gabber\"
>  -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\"/usr/share\" 
> -I../intl  -I/usr/include/gtk-1.2 -I/usr/inc
> lude/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -pipe 
> -Wall -O2 -fexpensive-optimizations -march=i6
> 86 -Wall -Wno-unused  -s -c WelcomeDruid.cc
> cc1plus: warning: changing search order for system directory 
> "/usr/include"
> cc1plus: warning:   as it has already been specified as a non-system 
> directory
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../jabberoo/libjudo/src/expat 
> -I../jabberoo/libjudo/src -I../jabberoo/i
> nclude -I/usr/include/libglade-1.0 -I/usr/include/gnome-xml 
> -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/u
> sr/lib/gnome-libs/include -I/usr/include/gtk-1.2 
> -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/i
> nclude -I/usr/lib/gnomemm/include -I/usr/include 
> -I/usr/lib/sigc++-1.0/include -I/usr/include/sigc++-1.0 -I/usr
> /lib/gtkmm/include -I/usr/include/gdk-pixbuf-1.0 
> -I/usr/include/freetype2 -I/usr/include/xmms -I/usr/include/gt
> k-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include 
> -I/usr/X11R6/include -DWITH_SSL -DG_LOG_DOMAIN=\"Gabber\"
>  -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\"/usr/share\" 
> -I../intl  -I/usr/include/gtk-1.2 -I/usr/inc
> lude/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -pipe 
> -Wall -O2 -fexpensive-optimizations -march=i6
> 86 -Wall -Wno-unused  -s -c SSLAdapter.cc
> cc1plus: warning: changing search order for system directory 
> "/usr/include"
> cc1plus: warning:   as it has already been specified as a non-system 
> directory
> In file included from SSLAdapter.cc:71:
> /usr/include/unistd.h:946: declaration of `char* _openssl_crypt(const 
> char*, const char*) throw ()' throws diff
> erent exceptions
> /usr/include/openssl/des.h:193: than previous declaration `char* 
> _openssl_crypt(const char*, const char*)'
> make[2]: *** [SSLAdapter.o] Error 1
> make[2]: Leaving directory `/home/vyt/RPM/BUILD/gabber-0.8.7/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/vyt/RPM/BUILD/gabber-0.8.7'
> make: *** [all-recursive-am] Error 2



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Gabber-discuss mailing list
Gabber-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gabber-discuss
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic