[CrackMonkey] Compiler expertise needed

Bob Bernstein bob at ruptured-duck.com
Sat Jan 20 22:03:06 PST 2001


Consider two Debian boxen, each at varying stages of unstable. Actually
one is unstable as of this past week, and the other as of a few months
ago; rather a difference. 

On one, the more recently unstable, this happens:

>  --- snip ---
>  
>  Please specify prototyping behavior for GtkHTML.xs (see perlxs manual)
>  cc -c
>  -I/usr/local/src/gnome-cvs/gnome-perl/GtkHTML/../blib/arch/Gtk/Install/
>  -I/usr/lib/glib/include -I/usr/X11R6/include  -I. -I./build
>  -I/usr/include -I/usr/lib/glib/include -I/usr/X11R6/include
>  -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
>  -I/usr/include/gnome-xml -DUNICODE_USE_SYSTEM_ICONV -D_REENTRANT
>  -DDEBIAN -DAPPLLIB_EXP="/usr/lib/perl5" -fno-strict-aliasing
>  -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2    
>  -DVERSION=\"0.7005\" -DXS_VERSION=\"0.7005\" -fPIC
>  -I/usr/lib/perl5/5.6/i386-linux/CORE -DPERL_POLLUTE -DGTK_HVER=0x010208
>  xs/GtkHTML.c
>  GtkHTML.c: In function `XS_Gtk__HTML_begin':
>  GtkHTML.c:175: warning: assignment makes integer from pointer without a
>  cast
>  GtkHTML.xs: In function `XS_Gtk__HTML_write':
>  GtkHTML.xs:114: warning: passing arg 2 of `gtk_html_write' makes
>  pointer from integer without a cast
>  GtkHTML.c: In function `XS_Gtk__HTML_end':
>  GtkHTML.c:233: warning: passing arg 2 of `gtk_html_end' makes pointer
>  from integer without a cast
>  GtkHTML.c: In function `XS_Gtk__HTML_request_paste':
>  GtkHTML.c:345: warning: passing arg 1 of `gtk_html_request_paste' from
>  incompatible pointer type
>  GtkHTML.c:345: too few arguments to function `gtk_html_request_paste'
>  GtkHTML.c: In function `XS_Gtk__HTML_get_title':
>  GtkHTML.c:664: warning: assignment discards qualifiers from pointer
>  target type
>  GtkHTML.xs: In function `XS_Gtk__HTML_save':
>  GtkHTML.xs:221: warning: passing arg 2 of `gtk_html_save' from
>  incompatible pointer type
>  GtkHTML.xs: In function `XS_Gtk__HTML_export':
>  GtkHTML.xs:239: warning: passing arg 3 of `gtk_html_export' from
>  incompatible pointer type
>  make: *** [xs/GtkHTML.o] Error 1
>  
>  --- snip ---

and the compile grinds to a halt. On the other (same compiler: gcc
2.95.2) the _same_ warnings but make tosses no error and the thing
sails on to finish.

This is GtkHTML in gnome-perl.

I know it's bad form to hit on this list for free tech support. But
then I am usually in bad form. Plus, the response to this so far from
the gtk-perl-list is a comment about runtime libs that doesn't seem
helpful...



-- 
Bob Bernstein
at
Esmond, R.I., USA






More information about the Crackmonkey mailing list