Jak kompilowac na starym gcc ????
Wojciech "Sas" Cieciwa
cieciwa w alpha.zarz.agh.edu.pl
Pon, 21 Wrz 1998, 09:42:08 CEST
Witam,
Wiem, że to może trochę nie na temat, ale ......
Jest pakiet [RasMol2{56}] który wymaga pliku <sys/termio.h>
Niby plik ten [[termio.h] się znajduje w systemie ale jest jako
/usr/include/termio.h
ale próba jego użycia kończy się masą komunikatów o błędach :((
Próba kompilacji na SUNie poszła, z czego wnoszę, że problem jest gdzies u
mnie...
I tu jest moje pytanie:
Jak zainstalować egcs tak, aby działało gcc ???
Tzn. aby pozostał nagłówki.
Pozdrawiam.
Sas.
P.S.
egcs-{,c++-,obj-,g77-}1.0.2-8
gcc-2.7.2.3-11
alpha:~/temp/rasmol/RasMol2.3>make
gcc -O2 -fno-strength-reduce -I/usr/X11R6/include -I/include -Dlinux
-D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE=500L
-D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO
-DRASMOLDIR=\"/usr/X11R6/lib/rasmol/\" -DEIGHTBIT -c rasmol.c -o rasmol.o
rasmol.c: In function `OpenConnection':
rasmol.c:377: invalid use of undefined type `struct fd_set'
rasmol.c: In function `CloseConnection':
rasmol.c:394: invalid use of undefined type `struct fd_set'
rasmol.c: In function `InitTerminal':
rasmol.c:489: invalid use of undefined type `struct fd_set'
rasmol.c:489: invalid use of undefined type `struct fd_set'
rasmol.c:490: invalid use of undefined type `struct fd_set'
rasmol.c:496: invalid use of undefined type `struct fd_set'
rasmol.c:506: invalid use of undefined type `struct fd_set'
rasmol.c: In function `FetchCharacter':
rasmol.c:592: `WaitSet' has an incomplete type
rasmol.c:598: warning: passing arg 2 of `select' from incompatible pointer
type
rasmol.c:598: warning: passing arg 3 of `select' from incompatible pointer
type
rasmol.c:598: warning: passing arg 4 of `select' from incompatible pointer
type
rasmol.c:603: invalid use of undefined type `struct fd_set'
rasmol.c:607: invalid use of undefined type `struct fd_set'
rasmol.c:611: invalid use of undefined type `struct fd_set'
rasmol.c: In function `main':
rasmol.c:1390: invalid use of undefined type `struct fd_set'
rasmol.c: At top level:
rasmol.c:120: storage size of `OrigWaitSet' isn't known
rasmol.c:121: storage size of `WaitSet' isn't known
make: *** [rasmol.o] Error 1
alpha:~/temp/rasmol/RasMol2.4>
=============================================================================
UNIX System Administrator, POLAND
_/_/_/_/ _/_/_/_/ _/_/_/_/ Wojciech 'Sas' Cieciwa
_/ _/ _/ _/
_/_/_/_/ _/_/_/_/ _/_/_/_/ cieciwa w alpha.zarz.agh.edu.pl
_/ _/ _/ _/ sas w uci.agh.edu.pl
_/_/_/_/ _/ _/ _/_/_/_/
http://alpha.zarz.agh.edu.pl/~cieciwa
Więcej informacji o liście dyskusyjnej pld-devel-pl