Results 1 to 1 of 1
I am trying to install PackETH on my laptop running Suse 10.3. When I try to make the package I get this error-
# make
gcc -g -O2 -Wall -Wunused ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-21-2008 #1Just Joined!
- Join Date
- Apr 2005
- Posts
- 26
PackETH
I am trying to install PackETH on my laptop running Suse 10.3. When I try to make the package I get this error-
I have been using linux for years as firewalls and servers, but this is the first time I have made the plunge to use it as an everyday OS. Can someone tell me what I am doing wrong or recommend another packet generator.# make
gcc -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -c main.c
main.c:10:21: error: gtk/gtk.h: No such file or directory
In file included from main.c:12:
interface.h:5: error: expected =, ,, ;, asm or __attribute__ before * token
interface.h:6: error: expected =, ,, ;, asm or __attribute__ before * token
interface.h:7: error: expected =, ,, ;, asm or __attribute__ before * token
interface.h:8: error: expected =, ,, ;, asm or __attribute__ before * token
interface.h:9: error: expected =, ,, ;, asm or __attribute__ before * token
interface.h:10: error: expected =, ,, ;, asm or __attribute__ before * token
interface.h:11: error: expected =, ,, ;, asm or __attribute__ before * token
interface.h:12: error: expected =, ,, ;, asm or __attribute__ before * token
interface.h:13: error: expected =, ,, ;, asm or __attribute__ before * token
interface.h:14: error: expected =, ,, ;, asm or __attribute__ before * token
interface.h:15: error: expected =, ,, ;, asm or __attribute__ before * token
In file included from main.c:13:
support.h:46: error: expected =, ,, ;, asm or __attribute__ before * token
support.h:51: warning: type defaults to int in declaration of gchar
support.h:51: error: expected ;, , or ) before * token
support.h:59: error: expected =, ,, ;, asm or __attribute__ before * token
support.h:63: error: expected =, ,, ;, asm or __attribute__ before * token
support.h:66: error: expected ) before * token
main.c: In function main:
main.c:18: error: GtkWidget undeclared (first use in this function)
main.c:18: error: (Each undeclared identifier is reported only once
main.c:18: error: for each function it appears in.)
main.c:18: error: window1 undeclared (first use in this function)
main.c:36: warning: implicit declaration of function gtk_set_locale
main.c:37: warning: implicit declaration of function gtk_init
main.c:40: warning: implicit declaration of function add_pixmap_directory
main.c:47: warning: implicit declaration of function create_window1
main.c:48: warning: implicit declaration of function gtk_widget_show
main.c:70: warning: implicit declaration of function g_thread_supported
main.c:71: warning: implicit declaration of function g_thread_init
main.c:71: error: NULL undeclared (first use in this function)
main.c:72: warning: implicit declaration of function gdk_threads_init
main.c:76: warning: implicit declaration of function printf
main.c:76: warning: incompatible implicit declaration of built-in function printf
main.c:79: warning: implicit declaration of function gtk_main
make: *** [main.o] Error 1



