[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[dennou-ruby:001026] Solved? DCL-C compile error
����Ǥ���
�ޤ�����ۤɤΥ��ȡ�����Ǥ�����INSTALL_user.linux.AdvancedDCL.txt
����ǡ��ֻפι��ܤγƻΥС������̾���������ΤǤ������֥��ȡ�
����פΤۤ��ϸŤ��ޤޤǤ�����
���ߤޤ��������Τ������Ǻܤ��Ƥ��������ʤ��Ǥ��礦�� ����Ƿ����
���ơ�����Ǥ�����
�����֤������äǤ�����C��DCL �� linux (Intel Celeron 667MHz, TurboLinux
Server 6.1) �˥��ȡ��뤷���Ȥ��� bitpci_ ��ȴ���Ƥ��ޤäƤ��Ƥ��ޤ�
���ȡ���Ǥ��Ƥ��ʤ����Ȥ������ݤ���𤷤ޤ������������ˤʤä�
�褦�䤯���顼��å�����������ȸ��Ƥߤޤ������٤��ʤäƤ����ޤ���
�������鿽���ޤ��ȡ���FORTRAN����ѥ���ȡ��뤹��ȥ��ȡ���
�Ǥ���פȤ������ȤǤ�����
gcc-g77 �ȡ��뤹��ȡ������ߤ����˥��顼�ʤ��ǥ��ȡ��뤵��
�ޤ�����
bitpci_ ������ȤǤ��Ƥ��ޤ���
[koshiro@xxxxxx lib]$ nm libcdcl52.a | grep bitpci_
00000000 T bitpci_
U bitpci_
U bitpci_
U bitpci_
U bitpci_
U bitpci_
AdvancedDCL, RubyNetCDF �Ȥ�˥��ȡ���Ǥ����ǥ�ץ�����बư������
���Ȥ��ǧ���ޤ�����
�����н褬�������Ȥ���С���� C��DCL �ˤ�FORTRAN ����ѥ��餬ɬ�ܤȤ���
���Ȥˤʤ�ޤ����������ʤ�Ǥ�������
�ɤʤ��������顼��������ܤ������Ȥ��狼��ޤ��Ǥ��礦����
�����ä����Ȥϻפä��ΤǤ�����gcc-g77 ���ȡ������� configure, make,
make install ���Υ��顼���Ϥ줾��ź�դ��ޤ�����
����ˡ�gcc-g77 ���ȡ������ȸ��configure�ν��ϥ�å�����(ɸ����ϡ�
���顼����)��Ĥ��Ƥ��ޤ���
�ʲ�ſ����
make install �����Ȥ��Υ�����ȡ�bitpci_ �������㤯�ơ�ishift_
([dennou-ruby:000901]�DZ�ë������𤢤�) �Ȥ� sbyte_ �Ȥ���ʤ���
�����Ƥ��롣
make �����Ȥ��Υ����Ǥϡ�iand.c �ǥ��顼�ˤʤäƤ��롣
����� dcl-5.2-C/src/misc1/bitlib/ �ʲ��Υե�����ʤΤ������̤ˤ�������
�Ȥ����Ϥʤ�������
configure �Υ����Ǥ⥨�顼���ǤƤ��ơ�FORTRAN����ѥ��餬�ʤ����Ȥǥ��顼
�ˤʤäƤ��롣Ĵ�٤Ƥߤ�ȡ����Υޥ���ˤ�FORTRAN����ѥ��餬���äƤ��ʤ�
���Ȥ�Ƚ����
Turbo linux �� Anonymous FTP�����Ф˥Х��ʥ�RPM ���ʤ��ä��Τǡ� gcc ��
SRPM ��ȤäƤ��ƥ�ӥ�ɡ�gcc-g77 �ȡ��롣
���θ�ޤä���Ʊ���褦�ˤ��ƥ��ȡ���ƥ��ȡ����٤Ϥ��ޤ����ä���
--
���� �� (�������� �Ĥ褷) <t.koushiro@xxxxxx>
�ٻ��̥��ա��������ԡ�������� �Ķ������ƥ���ȿ���� �����ƥ���
��̳�衧�̿����縦��� �ż��ȷ�¬���� SMILES G / �߿�졼�� G
mailto:koshiro@xxxxxx TEL:042-327-6880 FAX:042-327-6666
configure: warning: Could not find working FORTRAN compiler
configure: warning: getarg() is not available
configure: warning: Service routine iargc() is not available
./configure: ./conftest: No such file or directory
./configure: test: -gt: unary operator expected
iand.c:5: parse error before iand_'
iand.c:6: parse error before DCL_INT'
iand.c:6: warning: data definition has no type or storage class
iand.c:7: parse error before {'
make[3]: *** [iand.o] Error 1
ar: iand.o: No such file or directory
make[3]: *** [archive] Error 1
/home/koshiro/dennou/lib/libcdcl52.a(szstyp.o): In function szstyp_0_':
szstyp.o(.text+0x43): undefined reference to bitpci_'
/home/koshiro/dennou/lib/libcdcl52.a(szopld.o): In function szopld_0_':
szopld.o(.text+0x7f4): undefined reference to ishift_'
szopld.o(.text+0x867): undefined reference to ishift_'
szopld.o(.text+0x8cd): undefined reference to ishift_'
/home/koshiro/dennou/lib/libcdcl52.a(szopts.o): In function szopts_0_':
szopts.o(.text+0x40e): undefined reference to bitpci_'
collect2: ld returned 1 exit status
make[3]: *** [dclclr] Error 1
/home/koshiro/dennou/lib/libcdcl52.a(szstyp.o): In function szstyp_0_':
szstyp.o(.text+0x43): undefined reference to bitpci_'
/home/koshiro/dennou/lib/libcdcl52.a(szopld.o): In function szopld_0_':
szopld.o(.text+0x7f4): undefined reference to ishift_'
szopld.o(.text+0x867): undefined reference to ishift_'
szopld.o(.text+0x8cd): undefined reference to ishift_'
collect2: ld returned 1 exit status
make[3]: *** [dclfont] Error 1
/home/koshiro/dennou/lib/libcdcl52.a(szstyp.o): In function szstyp_0_':
szstyp.o(.text+0x43): undefined reference to bitpci_'
/home/koshiro/dennou/lib/libcdcl52.a(szopld.o): In function szopld_0_':
szopld.o(.text+0x7f4): undefined reference to ishift_'
szopld.o(.text+0x867): undefined reference to ishift_'
szopld.o(.text+0x8cd): undefined reference to ishift_'
/home/koshiro/dennou/lib/libcdcl52.a(szopts.o): In function szopts_0_':
szopts.o(.text+0x40e): undefined reference to bitpci_'
collect2: ld returned 1 exit status
make[3]: *** [dcltone] Error 1
/tmp/ccsAsBIz.o: In function MAIN__':
/tmp/ccsAsBIz.o(.text+0xa5): undefined reference to sbyte_'
/tmp/ccsAsBIz.o(.text+0xc1): undefined reference to sbyte_'
collect2: ld returned 1 exit status
make[3]: *** [repsl] Error 1
creating cache ./config.cache
checking for gcc... gcc
checking C compiler... works
checking how to run the C preprocessor... gcc -E
checking for mawk... no
checking for gawk... /usr/bin/gawk
checking for gsed... no
checking for sed... sed
checking for ranlib... ranlib
checking for f90... no
checking for pgf77... no
checking for f77... no
checking for g77... no
configure: warning: Could not find working FORTRAN compiler
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking Fortran service routine getarg()... configure: warning: getarg() is not available
checking Fortran service routine iargc()... configure: warning: Service routine iargc() is not available
checking Character code set csgi()/isgc()... ./configure: ./conftest: No such file or directory
./configure: test: -gt: unary operator expected
other
checking for pwd... /home/koshiro/dcl-5.2-C
checking for float.h... yes
REALMAX is 0x00800000
REALMIN is 0x00800000
EPSILON is 1.19221E-06
INTMAX is 0x00800000
CLOCKS_PER_SEC is provided by the system
CLK_TCK is provided by the system
updating cache ./config.cache
creating ./config.status
creating Mkinclude
creating src/misc1/bitlib/bitlib.h
creating cache ./config.cache
checking for gcc... gcc
checking C compiler... works
checking how to run the C preprocessor... gcc -E
checking for mawk... no
checking for gawk... /usr/bin/gawk
checking for gsed... no
checking for sed... sed
checking for ranlib... ranlib
checking for f90... no
checking for pgf77... no
checking for f77... no
checking for g77... g77
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking Fortran service routine getarg()... works
checking Fortran service routine iargc()... works
checking Character code set csgi()/isgc()... general
checking for pwd... /home/koshiro/dcl-5.2-C
checking for C-equivalent to Fortran routine "SUB"... sub_
checking if Fortran "integer" is C "int"... yes
checking if Fortran "real" is C "float"... yes
hexadecimal number requires quotation
checking for float.h... yes
REALMAX is 0x00800000
REALMIN is 0x00800000
EPSILON is 1.19221E-06
INTMAX is 0x00800000
CLOCKS_PER_SEC is provided by the system
CLK_TCK is provided by the system
updating cache ./config.cache
creating ./config.status
creating Mkinclude
creating src/misc1/bitlib/bitlib.h