users-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Fatal Error: if_no_fd.c: FD Solver not linked" on NetBSD/i386


From: Mayuresh
Subject: Re: "Fatal Error: if_no_fd.c: FD Solver not linked" on NetBSD/i386
Date: Sat, 1 Dec 2012 23:36:26 +0530
User-agent: Mutt/1.5.21 (2010-09-15)

On Sat, Dec 01, 2012 at 05:27:47PM +0100, Daniel Diaz wrote:
> uname -a 
NetBSD laptop 6.0_RC1 NetBSD 6.0_RC1 (MYKERNEL) #11: Sun Oct  7 11:51:10
IST 2012  address@hidden:/usr/src/sys/arch/i386/compile/MYKERNEL i386

> ./configure
> make

These steps are automated by pkgsrc (NetBSD's package management system)
on invocation of pkgsrc package's make. The output is as follows:

(Note that if I do not use pkgsrc infrastructure and try to build
directly, I still get the same error.)

address@hidden gprolog]# make
=> Bootstrap dependency digest>=20010302: found digest-20111104
WARNING: [license.mk] Every package should define a LICENSE.
=> Fetching gprolog-1.4.2.tar.gz
=> Checksum SHA1 OK for gprolog-1.4.2.tar.gz
=> Checksum RMD160 OK for gprolog-1.4.2.tar.gz
===> Installing dependencies for gprolog-1.4.2
=> Build dependency ccache-[0-9]*: found ccache-3.1.7
=> Build dependency checkperms>=1.1: found checkperms-1.11
=> Full dependency g95>=0.91: found g95-0.92
===> Overriding tools for gprolog-1.4.2
===> Extracting for gprolog-1.4.2
===> Patching for gprolog-1.4.2
===> Creating toolchain wrappers for gprolog-1.4.2
===> Configuring for gprolog-1.4.2
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Checking for portability problems in extracted files
checking for i486--netbsdelf-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking build system type... i486--netbsdelf
checking host system type... i486--netbsdelf
checking for i486--netbsdelf-as... no
checking for as... as
checking for i486--netbsdelf-ranlib... no
checking for ranlib... ranlib
checking for i486--netbsdelf-windres... no
checking for windres... no
checking for i486--netbsdelf-ar... no
checking for ar... ar
checking for i486--netbsdelf-strip... no
checking for strip... strip
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether ln -s works... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for inline... inline
checking size of long... 4
checking size of void*... 4
checking sys/ioctl_compat.h usability... yes
checking sys/ioctl_compat.h presence... yes
checking for sys/ioctl_compat.h... yes
checking sys/siginfo.h usability... yes
checking sys/siginfo.h presence... yes
checking for sys/siginfo.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking endian.h usability... no
checking endian.h presence... no
checking for endian.h... no
checking sys/endian.h usability... yes
checking sys/endian.h presence... yes
checking for sys/endian.h... yes
checking byteswap.h usability... no
checking byteswap.h presence... no
checking for byteswap.h... no
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for getpagesize... (cached) yes
checking for mprotect... yes
checking for sigaction... yes
checking for mallopt... no
checking for fgetc... yes
checking whether htole32 is declared... yes
checking whether bswap_32 is declared... no
checking for atanh... yes
checking for acosh... yes
checking for asinh... yes
checking for socklen_t... yes
checking for sigsetjmp... yes
checking for a working sigaction... yes
checking constructors execution order... last to first
checking for socket... yes
checking for gethostbyname... yes
DIRECTORIES
--> Installation:       /usr/pkg/lib/gprolog-1.4.2
--> Link to binaries:   /usr/pkg/bin
--> Documentation:      /usr/pkg/share/doc/gprolog
--> HTML documentation: /usr/pkg/share/doc/gprolog/html
--> Examples:           /usr/pkg/share/examples/gprolog
configure: creating ./config.status
config.status: creating Makefile
config.status: creating TopComp/Makefile
config.status: creating Pl2Wam/Makefile
config.status: creating Wam2Ma/Makefile
config.status: creating Ma2Asm/Makefile
config.status: creating Fd2C/Makefile
config.status: creating Linedit/Makefile
config.status: creating W32GUICons/Makefile
config.status: creating EnginePl/Makefile
config.status: creating BipsPl/Makefile
config.status: creating EngineFD/Makefile
config.status: creating BipsFD/Makefile
config.status: creating Ma2Asm/FromC/Makefile
config.status: creating Win32/Makefile
config.status: creating Win32/gp-setup.iss
config.status: creating EnginePl/gp_config.h
===> Building for gprolog-1.4.2
cd EnginePl; /usr/bin/make config
gcc -march=i486 -m32 -fno-strict-aliasing -O2 -I/usr/pkg/include  -o pl_config 
pl_config.c
./pl_config

        -------------------------------
        --- GNU PROLOG INSTALLATION ---
        -------------------------------

GNU Prolog version: 1.4.2 (Dec  1 2012)
Operating system  : netbsdelf
Processor         : i486
Size of a WAM word: 32 bits
C compiler        : gcc
C flags           : -O2 -I/usr/pkg/include
C flags machine   : -march=i486 -m32 -fno-strict-aliasing
Assembler         : as
Assembler flags   : 
Loader flags      : -L/usr/pkg/lib -Wl,-R/usr/pkg/lib
Loader libraries  : -lm
Use line editor   : Yes
Use piped consult : Yes
Use sockets       : Yes
Use FD solver     : Yes
Use fast call     : Yes
Use machine regs. : Yes
Used register(s)  : ebx (TR)  

        ------------------------------

(cd ../TopComp; /usr/bin/make gplc)
gcc -march=i486 -m32 -fno-strict-aliasing -O2 -I/usr/pkg/include -o gplc 
top_comp.c -lm
. ./SETVARS;for i in EnginePl TopComp Wam2Ma Ma2Asm Linedit   BipsPl Pl2Wam 
Fd2C EngineFD BipsFD;do (cd $i; /usr/bin/make) || exit 1; done; (cd TopComp; 
/usr/bin/make top-level) || exit 1; (cd Pl2Wam; /usr/bin/make stage2)
gcc -march=i486 -m32 -fno-strict-aliasing -O2 -I/usr/pkg/include  -o 
cpp_headers cpp_headers.c
gplc -c -C '-O2 -I/usr/pkg/include' machine.c
gplc -c -C '-O2 -I/usr/pkg/include' machine1.c
gplc -c -C '-O2 -I/usr/pkg/include' stacks_sigsegv.c
gplc -c -C '-O2 -I/usr/pkg/include' mem_alloc.c
gplc -c -C '-O2 -I/usr/pkg/include' misc.c
gplc -c -C '-O2 -I/usr/pkg/include' hash_fct.c
gplc -c -C '-O2 -I/usr/pkg/include' hash.c
gplc -c -C '-O2 -I/usr/pkg/include' obj_chain.c
gplc -c -C '-O2 -I/usr/pkg/include' engine.c
gplc -c -o engine1.o engine1.c
gplc -c -C '-O2 -I/usr/pkg/include' wam_inst.c
gplc -c -C '-O2 -I/usr/pkg/include' atom.c
gplc -c -C '-O2 -I/usr/pkg/include' pred.c
gplc -c -C '-O2 -I/usr/pkg/include' oper.c
gplc -c -C '-O2 -I/usr/pkg/include' if_no_fd.c
gplc -c -C '-O2 -I/usr/pkg/include' main.c
rm -f libengine_pl.a
ar rc libengine_pl.a machine.o machine1.o stacks_sigsegv.o mem_alloc.o  misc.o 
hash_fct.o hash.o obj_chain.o  engine.o engine1.o wam_inst.o  atom.o pred.o 
oper.o  if_no_fd.o main.o
ranlib libengine_pl.a
gcc -march=i486 -m32 -fno-strict-aliasing -O2 -I/usr/pkg/include -o hexgplc 
hexfilter.c
gcc -march=i486 -m32 -fno-strict-aliasing -O2 -I/usr/pkg/include -c wam2ma.c
gcc -march=i486 -m32 -fno-strict-aliasing -O2 -I/usr/pkg/include -c wam_parser.c
gcc -march=i486 -m32 -fno-strict-aliasing -O2 -I/usr/pkg/include -o wam2ma 
wam2ma.o wam_parser.o
gcc -march=i486 -m32 -fno-strict-aliasing -O2 -I/usr/pkg/include -c ma2asm.c
gcc -march=i486 -m32 -fno-strict-aliasing -O2 -I/usr/pkg/include -c ma_parser.c
gcc -march=i486 -m32 -fno-strict-aliasing -O2 -I/usr/pkg/include -c 
ma2asm_inst.c
gcc -march=i486 -m32 -fno-strict-aliasing -O2 -I/usr/pkg/include -o ma2asm 
ma2asm.o ma2asm_inst.o ma_parser.o
gcc -march=i486 -m32 -fno-strict-aliasing -c -O2 -I/usr/pkg/include 
-funsigned-char linedit.c
gcc -march=i486 -m32 -fno-strict-aliasing -c -O2 -I/usr/pkg/include 
-funsigned-char terminal.c
gcc -march=i486 -m32 -fno-strict-aliasing -c -O2 -I/usr/pkg/include 
-funsigned-char ctrl_c.c
rm -f liblinedit.a
ar rc liblinedit.a linedit.o terminal.o ctrl_c.o
ranlib liblinedit.a
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' error_supp.c
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' c_supp.c
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' foreign_supp.c
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' pred_supp.c
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' term_supp.c
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' stream_supp.c
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' scan_supp.c
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' parse_supp.c
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' write_supp.c
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' dynam_supp.c
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' callinf_supp.c
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' bc_supp.c
gplc -c foreign.wam
gplc -c pl_error.wam
gplc -c utils.wam
gplc -c unify.wam
gplc -c assert.wam
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' assert_c.c
gplc -c read.wam
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' read_c.c
gplc -c write.wam
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' write_c.c
gplc -c print.wam
gplc -c const_io.wam
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' const_io_c.c
gplc -c oper.wam
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' oper_c.c
gplc -c pred.wam
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' pred_c.c
gplc -c atom.wam
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' atom_c.c
gplc -c control.wam
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' control_c.c
gplc -c call.wam
gplc -c call_args.wam
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' call_args_c.c
gplc -c catch.wam
gplc -c throw.wam
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' throw_c.c
gplc -c flag.wam
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' flag_c.c
gplc -c arith_inl.wam
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' arith_inl_c.c
gplc -c type_inl.wam
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' type_inl_c.c
gplc -c term_inl.wam
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' term_inl_c.c
gplc -c g_var_inl.wam
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' g_var_inl_c.c
gplc -c all_solut.wam
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' all_solut_c.c
gplc -c sort.wam
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' sort_c.c
gplc -c list.wam
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' list_c.c
gplc -c stat.wam
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' stat_c.c
gplc -c stream.wam
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' stream_c.c
gplc -c file.wam
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' file_c.c
gplc -c char_io.wam
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' char_io_c.c
gplc -c dec10io.wam
gplc -c format.wam
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' format_c.c
gplc -c os_interf.wam
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' os_interf_c.c
gplc -c expand.wam
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' expand_c.c
gplc -c consult.wam
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' consult_c.c
gplc -c pretty.wam
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' pretty_c.c
gplc -c random.wam
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' random_c.c
gplc -c top_level.wam
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' top_level_c.c
gplc -c debugger.wam
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' debugger_c.c
gplc -c src_rdr.wam
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' src_rdr_c.c
gplc -c all_pl_bips.wam
gplc -c sockets.wam
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' sockets_c.c
gplc -c le_interf.wam
gplc -c -C '-O2 -I/usr/pkg/include -funsigned-char' le_interf_c.c
rm -f libbips_pl.a
ar rc libbips_pl.a error_supp.o  c_supp.o  foreign_supp.o  pred_supp.o  
term_supp.o  stream_supp.o  scan_supp.o  parse_supp.o  write_supp.o  
dynam_supp.o  callinf_supp.o  bc_supp.o  foreign.o  pl_error.o  utils.o  
unify.o  assert.o assert_c.o  read.o read_c.o  write.o write_c.o print.o  
const_io.o const_io_c.o  oper.o oper_c.o  pred.o pred_c.o  atom.o atom_c.o  
control.o control_c.o  call.o  call_args.o call_args_c.o  catch.o throw.o 
throw_c.o  flag.o flag_c.o  arith_inl.o arith_inl_c.o  type_inl.o type_inl_c.o  
term_inl.o term_inl_c.o  g_var_inl.o g_var_inl_c.o  all_solut.o all_solut_c.o  
sort.o sort_c.o  list.o list_c.o  stat.o stat_c.o  stream.o stream_c.o  file.o 
file_c.o  char_io.o char_io_c.o  dec10io.o  format.o format_c.o  os_interf.o 
os_interf_c.o  expand.o expand_c.o  consult.o consult_c.o  pretty.o pretty_c.o  
random.o random_c.o  top_level.o top_level_c.o  debugger.o debugger_c.o  
src_rdr.o src_rdr_c.o  all_pl_bips.o  sockets.o sockets_c.o  le_interf.o 
le_interf_c.o
ranlib libbips_pl.a
gplc -c pl2wam.wam
gplc -c read_file.wam
gplc -c syn_sugar.wam
gplc -c internal.wam
gplc -c code_gen.wam
gplc -c reg_alloc.wam
gplc -c inst_codif.wam
gplc -c first_arg.wam
gplc -c indexing.wam
gplc -c wam_emit.wam
[ ! -f  pl2wam ] || cp pl2wam pl2wam0
gplc -o pl2wam --no-fd-lib-warn --no-top-level pl2wam.o read_file.o syn_sugar.o 
internal.o code_gen.o reg_alloc.o inst_codif.o first_arg.o indexing.o wam_emit.o
gplc -c --fast-math fd2c.pl

Fatal Error: if_no_fd.c: FD Solver not linked
compilation failed
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/gprolog/work/gprolog-1.4.2/src/Fd2C
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/gprolog/work/gprolog-1.4.2/src
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/gprolog
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/gprolog


> 
> Please also try:
> 
> make distclean
> ./configure --disable-regs --with-c-flags=debug
> make

With these options added to configure arguments, a number of warnings are
shown though end result is shown. Following is the trace (for convenience
I am including only the stderr output):

pl_config.c: In function 'Read_Identifier':
pl_config.c:449:3: warning: array subscript has type 'char'
pl_config.c:453:3: warning: array subscript has type 'char'
pl_config.c:463:3: warning: array subscript has type 'char'
pl_config.c:465:3: warning: array subscript has type 'char'
pl_config.c: In function 'Read_String':
pl_config.c:484:3: warning: array subscript has type 'char'
pl_config.c: In function 'Pl_Read_Integer':
pl_config.c:512:3: warning: array subscript has type 'char'
pl_config.c:516:3: warning: array subscript has type 'char'
pl_config.c:524:3: warning: array subscript has type 'char'
pl_config.c:526:3: warning: array subscript has type 'char'
pl_config.c: In function 'Generate_Stacks':
pl_config.c:1153:7: warning: array subscript has type 'char'
pl_config.c:1196:9: warning: array subscript has type 'char'
In file included from top_comp.c:65:0:
decode_hexa.c: In function 'Encode_Hexa_Line':
decode_hexa.c:170:7: warning: array subscript has type 'char'
decode_hexa.c:206:4: warning: array subscript has type 'char'
decode_hexa.c: In function 'String_Needs_Encoding':
decode_hexa.c:242:3: warning: array subscript has type 'char'
decode_hexa.c:254:4: warning: array subscript has type 'char'
decode_hexa.c: In function 'Decode_Hexa':
decode_hexa.c:353:3: warning: array subscript has type 'char'
decode_hexa.c:367:4: warning: array subscript has type 'char'
decode_hexa.c: In function 'Decode_Hexa_Line':
decode_hexa.c:424:4: warning: array subscript has type 'char'
decode_hexa.c: In function 'Copy_Not_Encoded_String':
decode_hexa.c:460:3: warning: array subscript has type 'char'
decode_hexa.c:478:4: warning: array subscript has type 'char'
decode_hexa.c: In function 'Decode_String':
decode_hexa.c:499:3: warning: array subscript has type 'char'
decode_hexa.c:499:3: warning: array subscript has type 'char'
decode_hexa.c:501:7: warning: array subscript has type 'char'
decode_hexa.c:501:7: warning: array subscript has type 'char'
decode_hexa.c: In function 'Quote_If_Needed':
decode_hexa.c:524:3: warning: array subscript has type 'char'
decode_hexa.c:526:7: warning: array subscript has type 'char'
decode_hexa.c:550:7: warning: array subscript has type 'char'
decode_hexa.c: In function 'Parse_Atom':
decode_hexa.c:611:8: warning: array subscript has type 'char'
decode_hexa.c:625:7: warning: array subscript has type 'char'
decode_hexa.c:628:7: warning: array subscript has type 'char'
cpp_headers.c: In function 'Cpp_File':
cpp_headers.c:198:7: warning: array subscript has type 'char'
cpp_headers.c:202:7: warning: array subscript has type 'char'
machine.c: In function 'Pl_M_Absolute_Path_Name':
machine.c:615:11: warning: array subscript has type 'char'
In file included from hexfilter.c:48:0:
decode_hexa.c: In function 'Encode_Hexa_Line':
decode_hexa.c:170:7: warning: array subscript has type 'char'
decode_hexa.c:206:4: warning: array subscript has type 'char'
decode_hexa.c: In function 'String_Needs_Encoding':
decode_hexa.c:242:3: warning: array subscript has type 'char'
decode_hexa.c:254:4: warning: array subscript has type 'char'
decode_hexa.c: In function 'Decode_Hexa':
decode_hexa.c:353:3: warning: array subscript has type 'char'
decode_hexa.c:367:4: warning: array subscript has type 'char'
decode_hexa.c: In function 'Decode_Hexa_Line':
decode_hexa.c:424:4: warning: array subscript has type 'char'
decode_hexa.c: In function 'Copy_Not_Encoded_String':
decode_hexa.c:460:3: warning: array subscript has type 'char'
decode_hexa.c:478:4: warning: array subscript has type 'char'
decode_hexa.c: In function 'Decode_String':
decode_hexa.c:499:3: warning: array subscript has type 'char'
decode_hexa.c:499:3: warning: array subscript has type 'char'
decode_hexa.c:501:7: warning: array subscript has type 'char'
decode_hexa.c:501:7: warning: array subscript has type 'char'
decode_hexa.c: In function 'Quote_If_Needed':
decode_hexa.c:524:3: warning: array subscript has type 'char'
decode_hexa.c:526:7: warning: array subscript has type 'char'
decode_hexa.c:550:7: warning: array subscript has type 'char'
decode_hexa.c: In function 'Parse_Atom':
decode_hexa.c:611:8: warning: array subscript has type 'char'
decode_hexa.c:625:7: warning: array subscript has type 'char'
decode_hexa.c:628:7: warning: array subscript has type 'char'
In file included from wam2ma.c:57:0:
../TopComp/decode_hexa.c: In function 'Encode_Hexa_Line':
../TopComp/decode_hexa.c:170:7: warning: array subscript has type 'char'
../TopComp/decode_hexa.c:206:4: warning: array subscript has type 'char'
In file included from wam2ma.c:57:0:
../TopComp/decode_hexa.c: In function 'String_Needs_Encoding':
../TopComp/decode_hexa.c:242:3: warning: array subscript has type 'char'
In file included from wam2ma.c:57:0:
../TopComp/decode_hexa.c:254:4: warning: array subscript has type 'char'
In file included from wam2ma.c:57:0:
../TopComp/decode_hexa.c: In function 'Decode_Hexa':
../TopComp/decode_hexa.c:353:3: warning: array subscript has type 'char'
../TopComp/decode_hexa.c:367:4: warning: array subscript has type 'char'
In file included from wam2ma.c:57:0:
../TopComp/decode_hexa.c: In function 'Decode_Hexa_Line':
../TopComp/decode_hexa.c:424:4: warning: array subscript has type 'char'
../TopComp/decode_hexa.c: In function 'Copy_Not_Encoded_String':
../TopComp/decode_hexa.c:460:3: warning: array subscript has type 'char'
../TopComp/decode_hexa.c:478:4: warning: array subscript has type 'char'
In file included from wam2ma.c:57:0:
../TopComp/decode_hexa.c: In function 'Decode_String':
../TopComp/decode_hexa.c:499:3: warning: array subscript has type 'char'
../TopComp/decode_hexa.c:499:3: warning: array subscript has type 'char'
In file included from wam2ma.c:57:0:
../TopComp/decode_hexa.c:501:7: warning: array subscript has type 'char'
../TopComp/decode_hexa.c:501:7: warning: array subscript has type 'char'
In file included from wam2ma.c:57:0:
../TopComp/decode_hexa.c: In function 'Quote_If_Needed':
../TopComp/decode_hexa.c:524:3: warning: array subscript has type 'char'
../TopComp/decode_hexa.c:526:7: warning: array subscript has type 'char'
../TopComp/decode_hexa.c:550:7: warning: array subscript has type 'char'
In file included from wam2ma.c:57:0:
../TopComp/decode_hexa.c: In function 'Parse_Atom':
../TopComp/decode_hexa.c:611:8: warning: array subscript has type 'char'
../TopComp/decode_hexa.c:625:7: warning: array subscript has type 'char'
../TopComp/decode_hexa.c:628:7: warning: array subscript has type 'char'
wam_parser.c: In function 'Scanner':
wam_parser.c:566:7: warning: array subscript has type 'char'
wam_parser.c:584:4: warning: array subscript has type 'char'
wam_parser.c:647:3: warning: array subscript has type 'char'
wam_parser.c:650:7: warning: array subscript has type 'char'
wam_parser.c: In function 'Peek_Char':
wam_parser.c:720:5: warning: array subscript has type 'char'
wam_parser.c: In function 'Syntax_Error':
wam_parser.c:745:5: warning: array subscript has type 'char'
ma_parser.c: In function 'Parser':
ma_parser.c:409:4: warning: array subscript has type 'char'
ma_parser.c: In function 'Scanner':
ma_parser.c:685:7: warning: array subscript has type 'char'
ma_parser.c:704:4: warning: array subscript has type 'char'
ma_parser.c:742:3: warning: array subscript has type 'char'
ma_parser.c:745:7: warning: array subscript has type 'char'
ma_parser.c: In function 'Syntax_Error':
ma_parser.c:808:5: warning: array subscript has type 'char'
linedit.c: In function 'Pl_LE_FGets':
linedit.c:531:11: warning: array subscript has type 'char'
linedit.c:543:13: warning: array subscript has type 'char'
linedit.c:553:13: warning: array subscript has type 'char'
terminal.c: In function 'Parse_Env_Var':
terminal.c:286:7: warning: array subscript has type 'char'
terminal.c:290:11: warning: array subscript has type 'char'
terminal.c:290:11: warning: array subscript has type 'char'
pred_supp.c: In function 'Pl_Detect_If_Aux_Name':
pred_supp.c:90:3: warning: array subscript has type 'char'
pred_supp.c:93:3: warning: array subscript has type 'char'
pred_supp.c:99:3: warning: array subscript has type 'char'
write_supp.c: In function 'Show_Atom':
write_supp.c:578:6: warning: array subscript has type 'char'
le_interf_c.c: In function 'Pl_Add_Linedit_Completion_1':
le_interf_c.c:119:2: warning: array subscript has type 'char'

Fatal Error: if_no_fd.c: FD Solver not linked
compilation failed


> Le 30 nov. 2012 ? 19:11, Mayuresh a ?crit :
> 
> > When compiling GNU Prolog on NetBSD/i386 I get the following error:
> > 
> >     Fatal Error: if_no_fd.c: FD Solver not linked
> > 
> > Any leads to try and fix this will be appreciated.
> > 
> > I have also tried switching pkgsrc version to 1.4.2, though the same error
> > persists.
> > 
> > Mayuresh



reply via email to

[Prev in Thread] Current Thread [Next in Thread]