Re: newb needs help compiling...
- From: "John (J5) Palmieri" <johnp martianrock com>
- To: Dan Joseph <djoseph74 earthlink net>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: newb needs help compiling...
- Date: Sat, 07 Feb 2004 17:09:23 -0500
The only thing I can see is that you call your source main.cc which
implies a C++ file format for gcc.  It might be trying to compile it and
doing C++ name mangling.   Try renaming it to main.c.
--
J5
On Sat, 2004-02-07 at 16:18, Dan Joseph wrote:
Billy, John, Vincent,
Thank you!  That works a lot better.
I'm running into a new problem though.  
Here is my code:
#include <gtk/gtk.h>
int main( int   argc, char *argv[] )
{
    GtkWidget *window;
    
      gtk_init( &argc, &argv );
    
    window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
    
      gtk_widget_show  (window);
    
    gtk_main ();
    
    return 0;
}
Here is my error:
tmp/ccsSROPV.o(.eh_frame+0x11): In function `main':
/home/djoseph/Projects/Lessons/src/main.cc:7: undefined reference to
`__gxx_personality_v0'
collect2: ld returned 1 exit status
Line 7 is the gtk_init( &argc, &argv ); line.
Something still missing in what I'm doing?
-Dan Joseph
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]