Compilation problems

Eric Bouillier (ebouilli@matra-def.fr)
Thu, 22 Oct 1998 14:47:14 +0000

This is a multi-part message in MIME format.

--------------167EB0E72781E494446B9B3D
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello,

I try for many days to compile sane-74 on a solaris 2.5.1 system.
In the frontend directory, the final compilation of a product
(xscanimage e.g.) makes a core dump.
Here, I join the messages I have got.

Could You help me to resolve my problem ?

(I use cc of sunsoft4.0 development package and the gnu make ver 3.76)

Regards

-- 

Eric Bouillier Ingenieur Systemes et Methodes

Matra BAe Dynamics 37 Av. Louis Breguet 78151 Velizy Villacoublay cedex 1

--------------167EB0E72781E494446B9B3D Content-Type: text/plain; charset=us-ascii; name="error_message" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="error_message"

netw:/home/ebouilli/GNU/IMAGE/ImageMagick-4.1.1/sane-0.74/frontend #/produits/freeware/make/bin/make xscanimage cc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/local/include -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/produits/freeware/sane/etc/sane.d -DPATH_SANE_DATA_DIR=/produits/freeware/sane/share -DV_MAJOR=0 -DV_MINOR=74 -g -I/produits/freeware/gtk/include -I/usr/openwin/include -I/produits/freeware/glib/lib/glib/include -I/produits/freeware/glib/include xscanimage.c "xscanimage.c", line 558: warning: argument #2 is incompatible with prototype: prototype: pointer to uchar : "../include/sane/sane.h", line 204 argument : pointer to char cc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/local/include -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/produits/freeware/sane/etc/sane.d -DPATH_SANE_DATA_DIR=/produits/freeware/sane/share -DV_MAJOR=0 -DV_MINOR=74 -g -I/produits/freeware/gtk/include -I/usr/openwin/include -I/produits/freeware/glib/lib/glib/include -I/produits/freeware/glib/include progress.c cc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/local/include -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/produits/freeware/sane/etc/sane.d -DPATH_SANE_DATA_DIR=/produits/freeware/sane/share -DV_MAJOR=0 -DV_MINOR=74 -g -I/produits/freeware/gtk/include -I/usr/openwin/include -I/produits/freeware/glib/lib/glib/include -I/produits/freeware/glib/include preview.c "preview.c", line 553: warning: argument #1 is incompatible with prototype: prototype: pointer to char : "./gtkglue.h", line 98 argument : pointer to uchar "preview.c", line 679: warning: argument #1 is incompatible with prototype: prototype: pointer to char : "./gtkglue.h", line 98 argument : pointer to uchar cc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/local/include -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/produits/freeware/sane/etc/sane.d -DPATH_SANE_DATA_DIR=/produits/freeware/sane/share -DV_MAJOR=0 -DV_MINOR=74 -g -I/produits/freeware/gtk/include -I/usr/openwin/include -I/produits/freeware/glib/lib/glib/include -I/produits/freeware/glib/include preferences.c cc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/local/include -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/produits/freeware/sane/etc/sane.d -DPATH_SANE_DATA_DIR=/produits/freeware/sane/share -DV_MAJOR=0 -DV_MINOR=74 -g -I/produits/freeware/gtk/include -I/usr/openwin/include -I/produits/freeware/glib/lib/glib/include -I/produits/freeware/glib/include gtkglue.c "gtkglue.c", line 1009: warning: improper pointer/integer combination: op "=" "gtkglue.c", line 1071: warning: improper pointer/integer combination: op "=" "gtkglue.c", line 1217: warning: improper pointer/integer combination: op "=" cc -o .libs/xscanimage xscanimage.o progress.o preview.o preferences.o gtkglue.o ../sanei/libsanei.a -R/produits/freeware/sane/lib ../backend/.libs/libsane.so ../lib/liblib.a -L/produits/freeware/gtk/lib -L/usr/openwin/lib -R/usr/openwin/lib -lgtk -lgdk -L/produits/freeware/glib/lib -lgmodule -lglib -ldl -lXext -lX11 -lsocket -lnsl -lm -ldl -lsocket -lnsl -lintl -lm creating xscanimage Segmentation Fault - core dumped netw:/home/ebouilli/GNU/IMAGE/ImageMagick-4.1.1/sane-0.74/frontend #

--------------167EB0E72781E494446B9B3D--

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com