RE: [gtkmm] Compiling problems...



The glademm make failed again (after compiling for 1/2 hour). This time it
says...

In file included from writers/WriterBase.hh:23,
                 from const_contained_iterator.cc:23:
writers/safemap.hh:6:1: warning: this is the location of the previous
definition
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -ISourceWriter -Iwriters -I.
-I/usr/local/gtk/include  -g -O2 -MT glade--.o -MD -MP -MF
".deps/glade--.Tpo" \
  -c -o glade--.o `test -f 'glade--.cc' || echo './'`glade--.cc; \
then mv -f ".deps/glade--.Tpo" ".deps/glade--.Po"; \
else rm -f ".deps/glade--.Tpo"; exit 1; \
fi
In file included from /usr/local/include/c++/3.2.2/backward/strstream:51,
                 from TagStream.hh:27,
                 from glade--.cc:24:
/usr/local/include/c++/3.2.2/backward/backward_warning.h:32:2: warning:
#warning This file includes at least one deprecated or antiquated header.
Please consider using one of the 32 headers found in section 17.4.1.2 of the
C++ standard. Examples include substituting the <X> header for the <X.h>
header for C++ includes, or <sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated.
In file included from glade--.cc:33:
getopt.h:110: declaration of C function `int getopt()' conflicts with
/usr/include/unistd.h:282: previous declaration `int getopt(int, char*
const*, 
   const char*)' here


any suggestions?
amit.


> -----Original Message-----
> From: Amit BHATNAGAR [mailto:abhatnag mda ca]
> Sent: December 12, 2003 3:05 PM
> To: gtkmm-list gnome org
> Subject: RE: [gtkmm] Compiling problems...
> 
> 
> 
> 
> > -----Original Message-----
> > From: Amit BHATNAGAR [mailto:abhatnag mda ca]
> > Sent: December 12, 2003 11:54 AM
> > To: gtkmm-list gnome org
> > Subject: [gtkmm] Compiling problems...
> > 
> > 
> > Hi all.
> > 
> > I have GTK+ 2.2.4 installed and I am trying to compile 
> > glademm-2.0.0.1, on solaris 8. I get the following error:
> > 
> > The following error is occuring in the make of clist.cc  
> > in glademm 
> > 
> > make[3]: Entering directory
> > `/export/home/jgg/software/glademm-2.0.0.1/src/writers'
> > if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I../SourceWriter
> 
> [..snip..]
> 
> > CxxFile&, const std::string&) const':
> > clist.cc:49: `alloca' undeclared (first use this function)
> > clist.cc:49: (Each undeclared identifier is reported only 
> > once for each 
> >    function it appears in.)
> > clist.cc:133:2: warning: #warning Fixme for non standard 
> > column headers
> > (internal widgets)
> 
> placing a #include "alloca.h" in this file, (and all others
> that complained) corrected this error.
> 
> has anyone else had this problem when compiling on solaris?
> 
> amit.
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
> 
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]