Problem z kompilacja X-ow (fwd)

Maciej 'Agaran' Pijanka agaran w agaran.6bone.pl
Śro, 7 Mar 2001, 16:25:25 CET


fwd


-- 
Maciej 'Agaran' Pijanka <agaran w agaran.6bone.pl> MAP2-6BONE
i386, Linux 2.2, Pine, Slrn, Vi(m), IPv6, Gdb, 
I do not fear computers.  I fear the lack of them.
                -- Isaac Asimov

-- Support your government, give Echelon / Carnivore something to parse --
classified top-secret government jankowski restricted data radio information
project alek CIA KGB GRU DoD defense elektryk systems  military ksiadz steal
systems spy ojciec terrorist Allah Natasha  Gregori destroy  destruct attack
democracy will send Russia bank system compromise international own rule the
world force power enforce sensitive directorate STRAP warrior-T presidential
elections political foreign embassy takeover
--------------------------------------------------------------------------


---------- Forwarded message ----------
Subject: Problem z kompilacja X-ow
From: Michal 'Orr' Daszkowski <midas w signoff.com.pl>
To: Lista tworcow PLD <pld-devel-pl w pld.org.pl>
Date: Wed, 7 Mar 2001 10:48:53 +0100
Content-Type: text/plain; charset=iso-8859-2

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:

[root w widmo /root]# find / -name "time.h"
/usr/include/bits/time.h
/usr/include/sys/time.h
/usr/include/time.h
/usr/src/linux-2.2.18/arch/m68k/hp300/time.h
/usr/src/linux-2.2.18/arch/m68k/sun3x/time.h
/usr/src/linux-2.2.18/include/asm-arm/arch-arc/time.h
/usr/src/linux-2.2.18/include/asm-arm/arch-ebsa110/time.h
/usr/src/linux-2.2.18/include/asm-arm/arch-ebsa285/time.h
/usr/src/linux-2.2.18/include/asm-arm/arch-nexuspci/time.h
/usr/src/linux-2.2.18/include/asm-arm/arch-rpc/time.h
/usr/src/linux-2.2.18/include/asm-ppc/time.h
/usr/src/linux-2.2.18/include/linux/time.h

Krytyczna linia 92 w ClockP.h wygląda tak:

         struct tm  otm ;

Co mam jeszcze posprawdzać? Wszystkie pakiety, które mam, są
aktualne (tzn. takie, jak na ftp.pld.org.pl).

Pomóżcie, bo muszę skompilować X-y z dodatkami do obsługi karty 
Matrox G450 DH, a póki co nawet czyste z src.rpm / CVS się nie 
budują! :(

Pozdrawiam
Orr

-- 
 /~~\  __  __   ____________________________________________________ 
| () |||))||)) | Michal 'Orr' Daszkowski <orr w irc.pl> PGP: DB36A1F1 |
 \__/ ||\\||\\ | Student, Linux user, http://ufik.idn.org.pl/~midas |




Więcej informacji o liście dyskusyjnej pld-devel-pl