All,
On 64-bit Fedora 13, I am getting the following errors reported in
../package/gen/make.out when I try to build the 2010-06-21 AST-BASE package:
+ iffe -v -c 'cc -O -D_BLD_DLL -fPIC ' -S '' ref
-L/work/ast/arch/linux.i386-64/lib -I../../../include/ast -I../../../include
-ldl -last : run /work/ast/src/lib/libdll/features/dll iffe: test: is
sys/types.h a header ... yes iffe: test: is -ldl a library ... yes iffe:
test: is -last a library ... yes iffe: test: is dl.h a header ... no iffe:
test: is dlfcn.h a header ... yes iffe: test: is dll.h a header ... no iffe:
test: is rld_interface.h a header ... no iffe: test: is mach-o/dyld.h a header
... no iffe: test: is sys/ldr.h a header ... no iffe: test: is dlopen a
library function ... yes iffe: test: is dllload a library function ... no
iffe: test: is loadbind a library function ... no iffe: test: is shl_load a
library function ... no iffe: test: link{ ... }end ... no iffe: test: run{
... }end ... yes iffe: test: output{ ... }end ... yes ksh[71]: eval: line 2:
29250: Memory fault(coredump) make [lib/libdll]: *** termination code 11
making FEATURE/dll + cc -O -D_BLD_DLL -fPIC -I/work/ast/src/lib/libdll -I- -I.
-I../../../include/ast -D_PACKAGE_ast -c /work/ast/src/lib/libdll/dllopen.c +
cc -O -D_BLD_DLL -fPIC -I/work/ast/src/lib/libdll -I- -I.
-I../../../include/ast -D_PACKAGE_ast -c /work/ast/src/lib/libdll/dllplug.c +
cc -O -D_BLD_DLL -fPIC -I/work/ast/src/lib/libdll -I- -I.
-I../../../include/ast -D_PACKAGE_ast -c /work/ast/src/lib/libdll/dllcheck.c +
cc -O -D_BLD_DLL -fPIC -I/work/ast/src/lib/libdll -I- -I.
-I../../../include/ast -D_PACKAGE_ast -c /work/ast/src/lib/libdll/dllerror.c
cc1: note: obsolete option -I- used, please use -iquote instead cc1: note:
obsolete option -I- used, please use -iquote instead cc1: note: obsolete
option -I- used, please use -iquote instead cc1: note: obsolete option -I-
used, please use -iquote instead In file included from
/work/ast/src/lib/libdll/dllplug.c:26:
/work/ast/src/lib/libdll/dlllib.h:23:21: error: dlldefs.h: No such file or
directory /work/ast/src/lib/libdll/dllplug.c: In function ‘dllplugin’:
/work/ast/src/lib/libdll/dllplug.c:41: error: ‘Dllscan_t’ undeclared (first use
in this function) /work/ast/src/lib/libdll/dllplug.c:41: error: (Each
undeclared identifier is reported only onceIn file included from
/work/ast/src/lib/libdll/dllopen.c:26:
/work/ast/src/lib/libdll/dlllib.h:23:21: error: dlldefs.h: No such file or
directory /work/ast/src/lib/libdll/dllplug.c:41: error: for each function it
appears in.) /work/ast/src/lib/libdll/dllplug.c:41: error: ‘dls’ undeclared
(first use in this function) /work/ast/src/lib/libdll/dllplug.c:42: error:
‘Dllent_t’ undeclared (first use in this function)
On the exact same system and configuration I get no errors when I build the
2010-06-21 AST-KSH package. Here is the relevant portion of it's make.out.
+ mamake -C lib/libdll -k install + iffe -v -c 'cc -D_BLD_DLL -fPIC -O '
ref -L. -L/work/ksh93/arch/linux.i386-64/lib
-I/work/ksh93/arch/linux.i386-64/include/ast
-I/work/ksh93/arch/linux.i386-64/include -ldl
/work/ksh93/arch/linux.i386-64/lib/libast.a : run
/work/ksh93/src/lib/libdll/features/dll iffe: test: is sys/types.h a header
... yes iffe: test: is -ldl a library ... yes iffe: test: is
/work/ksh93/arch/linux.i386-64/lib/libast.a a library ... yes iffe: test: is
dl.h a header ... no iffe: test: is dlfcn.h a header ... yes iffe: test: is
dll.h a header ... no iffe: test: is rld_interface.h a header ... no iffe:
test: is mach-o/dyld.h a header ... no iffe: test: is sys/ldr.h a header ...
no iffe: test: is dlopen a library function ... yes iffe: test: is dllload a
library function ... no iffe: test: is loadbind a library function ... no
iffe: test: is shl_load a library function ... no iffe: test: link{ ... }end
... no iffe: test: run{ ... }end ... yes iffe: test: output{ ... }end ... yes
+ cmp -s FEATURE/dll dlldefs.h + 2> /dev/null + rm -f dlldefs.h + silent
test -d . + cp FEATURE/dll dlldefs.h + cc -D_BLD_DLL -fPIC -O -I.
-I/work/ksh93/src/lib/libdll -I/work/ksh93/arch/linux.i386-64/include/ast
-D_BLD_dll -D_PACKAGE_ast -c /work/ksh93/src/lib/libdll/dlfcn.c + cc
-D_BLD_DLL -fPIC -O -I. -I/work/ksh93/src/lib/libdll
-I/work/ksh93/arch/linux.i386-64/include/ast -D_PACKAGE_ast -D_BLD_dll -c
/work/ksh93/src/lib/libdll/dllopen.c + cc -D_BLD_DLL -fPIC -O -I.
-I/work/ksh93/src/lib/libdll -I/work/ksh93/arch/linux.i386-64/include/ast
-D_PACKAGE_ast -D_BLD_dll -c /work/ksh93/src/lib/libdll/dllfind.c + cc
-D_BLD_DLL -fPIC -O -I. -I/work/ksh93/src/lib/libdll
-I/work/ksh93/arch/linux.i386-64/include/ast -D_PACKAGE_ast -D_BLD_dll -c
/work/ksh93/src/lib/libdll/dllplug.c
iffe is not the problem, I can run it manually and get the expected results.
Diffing the two ../libdll/FEATURE/dll files:
i3c3< /* : : generated from /work/ast/src/lib/libdll/features/dll by iffe
version 2010-06-18 : : */---> /* : : generated from
/work/ksh93/src/lib/libdll/features/dll by iffe version 2010-06-18 : : */67c67<
#define _LIB_ast 1 /* -last is a library */---> #define _LIB_ast
1 /* /work/ksh93/arch/linux.i386-64/lib/libast.a is a library */
Problem appears to be missing ../src/lib/libdll/dlldefs.h. If I manually copy
/work/ast/src/lib/libdll/FEATURE/dll to /work/ast/src/lib/libdll/dlldefs.h, the
build works. So somehow ../src/lib/libdll/dlldefs.h is not being created.
Ideas?
- Finnbarr _______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers