Problem z kompilacja X-ow (fwd)
Arkadiusz Miskiewicz
misiek w pld.ORG.PL
Śro, 7 Mar 2001, 16:45:34 CET
On/Dnia Wed, Mar 07, 2001 at 04:25:25PM +0100, Maciej 'Agaran' Pijanka wrote/napisał(a)
> From: Michal 'Orr' Daszkowski <midas w signoff.com.pl>
> A konkretnie xclocka:
>
> make[4]: Entering directory
> /home/users/midas/rpm/BUILD/XFree86-4.0.2/xc/programs/xclock'
> gcc -O2 -march=i686 -I../.. -I../../exports/include -Dlinux -D__i386__
> -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE
> -D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -c -o
> xclock.o xclock.c
> gcc -O2 -march=i686 -I../.. -I../../exports/include -Dlinux -D__i386__
> -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE
> -D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -c -o
> Clock.o Clock.c
> In file included from Clock.c:50:
> ClockP.h:92: field otm' has incomplete type
> make[4]: *** [Clock.o] Error 1
>
> Na ewentualne pytania czy mam time.h, odpowiadam od razu:
to time.h napewno:
[misiek w arm xclock]$ diff -u ClockP.h.org ClockP.h
--- ClockP.h.org Wed Mar 7 16:44:16 2001
+++ ClockP.h Wed Mar 7 16:43:12 2001
@@ -51,6 +51,7 @@
#define _XawClockP_h
#include <X11/Xos.h> /* Needed for struct tm. */
+#include <time.h>
#include "Clock.h"
#include <X11/Xaw/SimpleP.h>
[misiek w arm xclock]$
> Orr
--
Arkadiusz Miśkiewicz, AM2-6BONE [ PLD GNU/Linux IPv6 ]
http://www.t17.ds.pwr.wroc.pl/~misiek/ipv6/ [ enabled ]
Więcej informacji o liście dyskusyjnej pld-devel-pl