[Xorg] xpawhelloworld.c
Egbert Eich
eich at pdx.freedesktop.org
Wed May 12 06:35:19 PDT 2004
Yes, there still is a dependecy on Motif that is not handled correctly.
We need to turn of buidling of xpawhelloworld off for the moment
until we find a better solution.
Egbert.
Carl Karsten writes:
> Guessing this is the problem:
>
> xpawhelloworld.c:41:20: Xm/Xm.h: No such file or directory
> xpawhelloworld.c:42:21: Xm/Text.h: No such file or directory
>
> I do have:
> ./xc/lib/GLw/GLwXm/Xm.h
> ./xc/lib/Xaw/Text.h
> ./xc/exports/include/X11/Xaw/Text.h
>
> Here is the tail of the log.
>
> "C89 compilers are required to support" - Is this something I should be
> interested in?
>
> + ln -s ../../../programs/Xserver/hw/xfree86/scanpci/module/libpcidata.a .
> interface.c: In function `Usage':
> interface.c:224: warning: string length `630' is greater than the length `509'
> ISO C89 compilers are required to support
> libc_wrapper.c: In function `xf86strlcat':
> libc_wrapper.c:260: warning: implicit declaration of function `strlcat'
> libc_wrapper.c: In function `xf86strlcpy':
> libc_wrapper.c:266: warning: implicit declaration of function `strlcpy'
> libc_wrapper.c:646:20: warning: use of C99 hexadecimal floating constant
> In file included from loadmod.c:44:
> loader.h:39:1: warning: "XFree86LOADER" redefined
> <command line>:33:1: warning: this is the location of the previous definition
> loader.h:47:1: warning: "XINPUT" redefined
> <command line>:13:1: warning: this is the location of the previous definition
> In file included from text-mode.c:47:
> loader.h:78: warning: ISO C doesn't support unnamed structs/unions
> loader.h:78: warning: declaration does not declare anything
> text-mode.c: In function `TextMode':
> text-mode.c:220: warning: string length `527' is greater than the length `509'
> ISO C89 compilers are required to support
> xorgconfig.c:273: warning: string length `750' is greater than the length `509'
> ISO C89 compilers are required to support
> xorgconfig.c:1012: warning: string length `1105' is greater than the length
> `509' ISO C89 compilers are required to support
> xorgconfig.c:1939: warning: string length `3283' is greater than the length
> `509' ISO C89 compilers are required to support
> xorgconfig.c:2040: warning: string length `2478' is greater than the length
> `509' ISO C89 compilers are required to support
> xorgconfig.c:2070: warning: string length `872' is greater than the length `509'
> ISO C89 compilers are required to support
> xorgconfig.c:2167: warning: string length `1751' is greater than the length
> `509' ISO C89 compilers are required to support
> xorgconfig.c:2388: warning: string length `1311' is greater than the length
> `509' ISO C89 compilers are required to support
> xorgconfig.c:2422: warning: string length `926' is greater than the length `509'
> ISO C89 compilers are required to support
> mmapr.c:56: warning: ISO C90 does not support `long long'
> mmapr.c: In function `main':
> mmapr.c:226: warning: ISO C90 does not support `long long'
> mmapw.c:56: warning: ISO C90 does not support `long long'
> mmapw.c: In function `main':
> mmapw.c:97: warning: ISO C90 does not support `long long'
> mmapw.c:194: warning: ISO C90 does not support `long long'
> mmapw.c:195: warning: ISO C90 does not support `long long'
> + cd ../../../../../exports/lib/modules/.
> + ln -s ../../../programs/Xserver/hw/xfree86/getconfig/xorg.cfg .
> + cd ../../../../../exports/lib/modules/.
> + ln -s ../../../programs/Xserver/hw/xfree86/getconfig/getconfig .
> + cd ../../../../../exports/lib/modules/.
> + ln -s ../../../programs/Xserver/hw/xfree86/getconfig/getconfig.pl .
> Xprint/ps/libps.a(psout_ftpstype1.o)(.text+0x6f): In function
> `PsOut_DownloadFreeType1':
> : warning: the use of `tempnam' is dangerous, better use `mkstemp'
> macro "in" not recognized -- ignoring
> connection.c: In function `PickNewListenDisplay':
> connection.c:179: warning: int format, long int arg (arg 3)
> macro "in" not recognized -- ignoring
> macro "n'" not recognized -- ignoring
> xplsprinters.c: In function `print_printer_info':
> xplsprinters.c:239: warning: unused variable `pdpy'
> xplsprinters.c:240: warning: unused variable `pcontext'
> xplsprinters.c:241: warning: unused variable `dpi'
> xpawhelloworld.c:41:20: Xm/Xm.h: No such file or directory
> xpawhelloworld.c:42:21: Xm/Text.h: No such file or directory
> xpawhelloworld.c: In function `PrintStartJobCB':
> xpawhelloworld.c:225: warning: unused variable `psp'
> xpawhelloworld.c: In function `PrintEndJobCB':
> xpawhelloworld.c:234: warning: unused variable `psp'
> xpawhelloworld.c: In function `do_hello_world':
> xpawhelloworld.c:252: error: `XmFontList' undeclared (first use in this
> function)
> xpawhelloworld.c:252: error: (Each undeclared identifier is reported only once
> xpawhelloworld.c:252: error: for each function it appears in.)
> xpawhelloworld.c:252: error: syntax error before "textFontList"
> xpawhelloworld.c:329: error: `textFontList' undeclared (first use in this
> function)
> xpawhelloworld.c:329: warning: implicit declaration of function
> `XmFontListCreate'
> xpawhelloworld.c:329: error: `XmSTRING_DEFAULT_CHARSET' undeclared (first use in
> this function)
> xpawhelloworld.c:334: error: `XmNcursorPositionVisible' undeclared (first use in
> this function)
> xpawhelloworld.c:334: warning: left-hand operand of comma expression has no
> effect
> xpawhelloworld.c:335: error: `XmNvalue' undeclared (first use in this function)
> xpawhelloworld.c:335: warning: left-hand operand of comma expression has no
> effect
> xpawhelloworld.c:336: error: `XmNfontList' undeclared (first use in this
> function)
> xpawhelloworld.c:336: warning: left-hand operand of comma expression has no
> effect
> xpawhelloworld.c:337: error: `XmNeditMode' undeclared (first use in this
> function)
> xpawhelloworld.c:337: error: `XmMULTI_LINE_EDIT' undeclared (first use in this
> function)
> xpawhelloworld.c:337: warning: left-hand operand of comma expression has no
> effect
> xpawhelloworld.c:339: warning: implicit declaration of function `XmCreateText'
> xpawhelloworld.c:339: warning: assignment makes pointer from integer without a
> cast
> xpawhelloworld.c:365: error: `XmNrows' undeclared (first use in this function)
> xpawhelloworld.c:365: warning: left-hand operand of comma expression has no
> effect
> xpawhelloworld.c:366: error: `XmNtotalLines' undeclared (first use in this
> function)
> xpawhelloworld.c:366: warning: left-hand operand of comma expression has no
> effect
> make[5]: *** [xpawhelloworld.o] Error 1
> make[4]: *** [all] Error 2
> make[3]: *** [all] Error 2
> make[2]: *** [all] Error 2
> make[1]: *** [World] Error 2
> make: *** [World] Error 2
> LinuxBook1 src #
>
> Carl K
>
>
> _______________________________________________
> xorg mailing list
> xorg at freedesktop.org
> http://freedesktop.org/mailman/listinfo/xorg
More information about the xorg
mailing list