Re: [gtk-list] compiling gtk+ on solaris



On Wed, 22 Dec 1999 15:46:19 +0000 (GMT), adam rivet wrote:
> I am attempting to compile gtk+ 1.2.6 on an i86 running solaris 2.7. 
> ./configure runs fine, but when i run make it starts compiling and gives me 
> the following massage about 50 times:
> 
> /usr/openwin/include/X11/Xlib.h:XXXX: warning: type defaults to `int' in 
> declaration of `FUNCTION'
> 
> where XXXX is a number and FUNCTION is a function (duh), and then starts 
> compiling from the beginning again. Is this normal?
> 
> Any help would be sincerely appreciated.

Looks to me like Sun still ships Solaris with plain old non-ANSI C
compliant X11R4 header files. Install X11R6 header files and use
configure's --with-x-headers and --with-x-libs flags to point it to the
correct X version.


Erik
(who lost access to a Slowaris box, but just guesses from experience)

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2785859  Fax: +31-15-2781843  Email J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/





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