troubles porting from ubuntu to debian. [??]

o can't figure this out.  On my debian computer, make fails thusly:

 4 -rw-r--r-- 1 kline   354 2012-01-01 13:59 Makefile
pts/2 12:13 <chatter> [441] k
gcc -std=gnu99 -Wall -g main.c -o main -D_REENTRANT
-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
-I/usr/include/freetype2 -I/usr/include/directfb
-I/usr/include/libpng12 -I/usr/include/pixman-1   -lgtk-x11-2.0
-lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0
-lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   
main.c: In function â??show_file_in_new_windowâ??:
main.c:157: warning: implicit declaration of function â??chdirâ??
main.c: In function â??inc_button_click_cbâ??:
main.c:242: warning: implicit declaration of function
main.c: In function â??voice_editorâ??:
main.c:361: warning: statement with no effect
main.c:362: warning: implicit declaration of function â??sleepâ??
main.c: In function â??mainâ??:
main.c:416: warning: unused variable â??Sizeâ??
main.c:415: warning: unused variable â??messageâ??
/tmp/ccLCHs8U.o: In function `inc_button_click_cb':
/home/kline/bin/main.c:242: undefined reference to
/tmp/ccLCHs8U.o: In function `dec_button_click_cb':
/home/kline/bin/main.c:277: undefined reference to
collect2: ld returned 1 exit status
make: *** [all] Error 1
pts/2 12:13 <chatter> [442]                                          

Here is the code that has gtk_widget_is_sensitive().  i gave up on
this after a couple hours [last night].  does anybody who why this
won't build?

Change senstivity of the decrement button based on counter
   if (counter > 0 && !gtk_widget_is_sensitive (dec_button))
      gtk_widget_set_sensitive (dec_button, TRUE);

thanks in advance!


 Gary Kline  kline thought org  Public Service Unix
           Journey Toward the Dawn, E-Book:
          The 8.57a release of Jottings:
             Twenty-five years of service to the Unix community.

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