You should at least write "int main (int argc, char **argv)" ---- gme
On Thu, 27 Jan 2005 18:29:21 -0500 Tony Freeman <[EMAIL PROTECTED]> wrote: > Thanks to the people who have replied so far. > > Attached is the glade file and the c file. I've check and rechecked > the glade and c files for syntax errors, etc. I found one typo that I > corrected: I had "int main (int argc, *argv[])" which I changed to > "int main (int argc, **argv)". > > My compile line looks like this: > > gcc `pkg-config --cflags --libs libglade-2.0 libgnome-2.0 > libgnomeui-2.0` main.c -o test > > I get this: > > main.c: In function `main': > main.c:95: error: `PREFIX' undeclared (first use in this function) > main.c:95: error: (Each undeclared identifier is reported only once > main.c:95: error: for each function it appears in.) > main.c:95: error: `SYSCONFDIR' undeclared (first use in this function) > main.c:95: error: `DATADIR' undeclared (first use in this function) > main.c:95: error: `LIBDIR' undeclared (first use in this function) > main.c:95: error: `GNOME_PARAM_HUMAN_READABLE' undeclared (first use > in this function) > main.c:109: warning: passing arg 4 of `g_signal_connect_data' makes > pointer from integer without a cast > > > Any help? > _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list