Re: FW: X 4.3.99.902 Compile error

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

 



On Fri, Jan 09, 2004 at 08:21:24AM -0500, Wise, Jeremey wrote:

>Help please -> failing to understand why SuSE has these problems but
>Fedora and Knoppix do not. Issue is I have to use SuSE as our companies
>technical contact for SuSE.
>
>THanks,
>
>
>On Tue, 2004-01-06 at 15:24, Wise, Jeremey wrote:
>> Thanks for the update. That was the fix for that error. Now a new one.
>> 
>> 
>> ****SnIP)***
>> ....
>> xcursorgen.c:262: warning: redundant redeclaration of
>> 'png_destroy_read_structure' in the same scope
>> xcursorgen.c:181: warning: previous declaration of
>'png_destory_read_struct'
>> make[4] *** [xcursorgen.o] Error 1
>> make[4] Leaving directory '/home/wisej/XFreeUpdate/xc/programs/xcursorgen'
>> make[3]: *** [all] Error 2
>> make[3]: Leaving directory '/home/wisej/XFreeUpdate/xc/programs'
>> ...
>> 
>> Suggestions?

I don't think you have included all of the error messages, either here
or below, because they all look like noise that is a side-effect of the
real problem.

Most likely you don't have the necessary libpng devel package installed,
so the png data types and function prototypes are missing.

Either install it, or add a line to xc/config/cf/host.def to tell the build
that you don't have it:

#define HasLibpng NO

David
-- 
David Dawes                                     X-Oz Technologies
www.XFree86.org/~dawes                          www.x-oz.com

>xcursorgen.c:252: error: `height' undeclared here (not in a function)
>xcursorgen.c:252: warning: initialization makes integer from pointer without a cast
>xcursorgen.c:252: error: initializer element is not constant
>xcursorgen.c:252: error: ISO C forbids data definition with no type or storage class
>xcursorgen.c:254: error: parse error before "for"
>xcursorgen.c:257: warning: type defaults to `int' in declaration of `png_read_image'
>xcursorgen.c:257: warning: parameter names (without types) in function declaration
>xcursorgen.c:257: error: ISO C forbids data definition with no type or storage class
>xcursorgen.c:258: warning: type defaults to `int' in declaration of `png_read_end'
>xcursorgen.c:258: warning: parameter names (without types) in function declaration
>xcursorgen.c:258: error: ISO C forbids data definition with no type or storage class
>xcursorgen.c:260: warning: type defaults to `int' in declaration of `free'
>xcursorgen.c:260: warning: parameter names (without types) in function declaration
>xcursorgen.c:260: error: conflicting types for `free'
>/usr/include/stdlib.h:569: error: previous declaration of `free'
>xcursorgen.c:260: warning: redundant redeclaration of `free' in same scope
>/usr/include/stdlib.h:569: warning: previous declaration of `free'
>xcursorgen.c:260: error: ISO C forbids data definition with no type or storage class
>xcursorgen.c:261: warning: type defaults to `int' in declaration of `fclose'
>xcursorgen.c:261: warning: parameter names (without types) in function declaration
>xcursorgen.c:261: error: conflicting types for `fclose'
>/usr/include/stdio.h:208: error: previous declaration of `fclose'
>xcursorgen.c:261: warning: redundant redeclaration of `fclose' in same scope
>/usr/include/stdio.h:208: warning: previous declaration of `fclose'
>xcursorgen.c:261: error: ISO C forbids data definition with no type or storage class
>xcursorgen.c:262: error: parse error before '&' token
>xcursorgen.c:141: warning: `premultiply_data' defined but not used
>make[4]: *** [xcursorgen.o] Error 1
>make[4]: Leaving directory `/home/wisej/XFreeUpdate/xc/programs/xcursorgen'
>make[3]: *** [all] Error 2
>make[3]: Leaving directory `/home/wisej/XFreeUpdate/xc/programs'
>make[2]: *** [all] Error 2
>make[2]: Leaving directory `/home/wisej/XFreeUpdate/xc'
>make[1]: *** [World] Error 2
>make[1]: Leaving directory `/home/wisej/XFreeUpdate/xc'
>make: *** [World] Error 2
>wizej:/home/wisej/XFreeUpdate/xc #
>
_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux