| I don't think this is caused by configure; almost certainly this is due to
a source file or #ifdef not being up to date. I did a fresh checkout and
rebuild on Cygwin to verify the configuration, but although things built OK
on Linux, I did not do a complete fresh checkout on Linux.
This probably happened because I moved some opcodes from Opcodes back to
OOps. I should be able to fix it this evening.
You might also be able to fix this yourself by making sure the symbols in
the error messages are declared in scope of entry1.c.
Original Message:
-----------------
From: John ffitch jpff@cs.bath.ac.uk
Date: Mon, 23 Feb 2004 14:56:14 +0000 (GMT)
To: csound-dev@eartha.mills.edu
Subject: [CSOUND-DEV:4112] RE: After locating autoconf and automake
On Mon, 23 Feb 2004, gogins@pipeline.com wrote:
> I started with a fresh checkout from CVS, autoconf -i -f gave me the same
> messages you report below, but I could then proceed to ./configure and
> make. Did you try that?
>
Yes; the configure said amongst usuial stuff
checking FL/Fl.H usability... no
checking FL/Fl.H presence... yes
configure: WARNING: FL/Fl.H: present but cannot be compiled
configure: WARNING: FL/Fl.H: check for missing prerequisite headers?
configure: WARNING: FL/Fl.H: see the Autoconf documentation
configure: WARNING: FL/Fl.H: section "Present But Cannot Be Compiled"
configure: WARNING: FL/Fl.H: proceeding with the preprocessor's result
configure: WARNING: FL/Fl.H: in the future, the compiler will take
precedence
configure: WARNING: ## --------------------------------- ##
configure: WARNING: ## Report this to the Csound lists. ##
configure: WARNING: ## --------------------------------- ##
checking for FL/Fl.H... yes
checking for stdbool.h that conforms to C99... no
Apart from that it seemed to complete so I tried calling make
cage:~/Sourceforge/csound5> make
if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I./H
-DBETA -IH -I/usr/local/include -I/usr/local/boost -DBETA -IH
-I/usr/local/include -I/usr/local/boost -falign-loops=4 -falign-jumps=4
-Wall -falign-loops=4 -falign-jumps=4 -ffast-math -fomit-frame-pointer
-finline-functions -funroll-loops -DWITHx87 -O2 -g -Wall -O2 -g -Wall -MT
libcsound_la-entry1.lo -MD -MP -MF ".deps/libcsound_la-entry1.Tpo" -c -o
libcsound_la-entry1.lo `test -f 'Engine/entry1.c' || echo
'./'`Engine/entry1.c; \
then mv -f ".deps/libcsound_la-entry1.Tpo"
".deps/libcsound_la-entry1.Plo"; else rm -f
".deps/libcsound_la-entry1.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I./H -DBETA -IH -I/usr/local/include
-I/usr/local/boost -DBETA -IH -I/usr/local/include -I/usr/local/boost
-falign-loops=4 -falign-jumps=4 -Wall -falign-loops=4 -falign-jumps=4
-ffast-math -fomit-frame-pointer -finline-functions -funroll-loops
-DWITHx87 -O2 -g -Wall -O2 -g -Wall -MT libcsound_la-entry1.lo -MD -MP -MF
.deps/libcsound_la-entry1.Tpo -c Engine/entry1.c -fPIC -DPIC -o
.libs/libcsound_la-entry1.o
Engine/entry1.c:636: `itablew' undeclared here (not in a function)
Engine/entry1.c:636: initializer element is not constant
Engine/entry1.c:636: (near initialization for `opcodlst_1[383].iopadr')
Engine/entry1.c:637: `tblsetw' undeclared here (not in a function)
Engine/entry1.c:637: initializer element is not constant
Engine/entry1.c:637: (near initialization for `opcodlst_1[384].iopadr')
Engine/entry1.c:637: `ktablew' undeclared here (not in a function)
Engine/entry1.c:637: initializer element is not constant
Engine/entry1.c:637: (near initialization for `opcodlst_1[384].kopadr')
Engine/entry1.c:638: `tblsetw' undeclared here (not in a function)
Engine/entry1.c:638: initializer element is not constant
Engine/entry1.c:638: (near initialization for `opcodlst_1[385].iopadr')
Engine/entry1.c:638: `tablew' undeclared here (not in a function)
Engine/entry1.c:638: initializer element is not constant
Engine/entry1.c:638: (near initialization for `opcodlst_1[385].aopadr')
Engine/entry1.c:639: `tblsetwkt' undeclared here (not in a function)
Engine/entry1.c:639: initializer element is not constant
Engine/entry1.c:639: (near initialization for `opcodlst_1[386].iopadr')
Engine/entry1.c:639: `ktablewkt' undeclared here (not in a function)
Engine/entry1.c:639: initializer element is not constant
Engine/entry1.c:639: (near initialization for `opcodlst_1[386].kopadr')
Engine/entry1.c:640: `tblsetwkt' undeclared here (not in a function)
Engine/entry1.c:640: initializer element is not constant
Engine/entry1.c:640: (near initialization for `opcodlst_1[387].iopadr')
Engine/entry1.c:640: `tablewkt' undeclared here (not in a function)
Engine/entry1.c:640: initializer element is not constant
Engine/entry1.c:640: (near initialization for `opcodlst_1[387].aopadr')
Engine/entry1.c:641: `itableng' undeclared here (not in a function)
Engine/entry1.c:641: initializer element is not constant
Engine/entry1.c:641: (near initialization for `opcodlst_1[388].iopadr')
Engine/entry1.c:642: `tableng' undeclared here (not in a function)
Engine/entry1.c:642: initializer element is not constant
Engine/entry1.c:642: (near initialization for `opcodlst_1[389].kopadr')
Engine/entry1.c:643: `itablegpw' undeclared here (not in a function)
Engine/entry1.c:643: initializer element is not constant
Engine/entry1.c:643: (near initialization for `opcodlst_1[390].iopadr')
Engine/entry1.c:644: `tablegpw' undeclared here (not in a function)
Engine/entry1.c:644: initializer element is not constant
Engine/entry1.c:644: (near initialization for `opcodlst_1[391].kopadr')
Engine/entry1.c:645: `itablemix' undeclared here (not in a function)
Engine/entry1.c:645: initializer element is not constant
Engine/entry1.c:645: (near initialization for `opcodlst_1[392].iopadr')
Engine/entry1.c:646: `tablemixset' undeclared here (not in a function)
Engine/entry1.c:646: initializer element is not constant
Engine/entry1.c:646: (near initialization for `opcodlst_1[393].iopadr')
Engine/entry1.c:646: `tablemix' undeclared here (not in a function)
Engine/entry1.c:646: initializer element is not constant
Engine/entry1.c:646: (near initialization for `opcodlst_1[393].kopadr')
Engine/entry1.c:647: `itablecopy' undeclared here (not in a function)
Engine/entry1.c:647: initializer element is not constant
Engine/entry1.c:647: (near initialization for `opcodlst_1[394].iopadr')
Engine/entry1.c:648: `tablecopyset' undeclared here (not in a function)
Engine/entry1.c:648: initializer element is not constant
Engine/entry1.c:648: (near initialization for `opcodlst_1[395].iopadr')
Engine/entry1.c:648: `tablecopy' undeclared here (not in a function)
Engine/entry1.c:648: initializer element is not constant
Engine/entry1.c:648: (near initialization for `opcodlst_1[395].kopadr')
Engine/entry1.c:649: `tableraset' undeclared here (not in a function)
Engine/entry1.c:649: initializer element is not constant
Engine/entry1.c:649: (near initialization for `opcodlst_1[396].iopadr')
Engine/entry1.c:649: `tablera' undeclared here (not in a function)
Engine/entry1.c:649: initializer element is not constant
Engine/entry1.c:649: (near initialization for `opcodlst_1[396].aopadr')
Engine/entry1.c:650: `tablewaset' undeclared here (not in a function)
Engine/entry1.c:650: initializer element is not constant
Engine/entry1.c:650: (near initialization for `opcodlst_1[397].iopadr')
Engine/entry1.c:650: `tablewa' undeclared here (not in a function)
Engine/entry1.c:650: initializer element is not constant
Engine/entry1.c:650: (near initialization for `opcodlst_1[397].aopadr')
Engine/entry1.c:651: `zakinit' undeclared here (not in a function)
Engine/entry1.c:651: initializer element is not constant
Engine/entry1.c:651: (near initialization for `opcodlst_1[398].iopadr')
Engine/entry1.c:652: `zir' undeclared here (not in a function)
Engine/entry1.c:652: initializer element is not constant
Engine/entry1.c:652: (near initialization for `opcodlst_1[399].iopadr')
Engine/entry1.c:653: `zkset' undeclared here (not in a function)
Engine/entry1.c:653: initializer element is not constant
Engine/entry1.c:653: (near initialization for `opcodlst_1[400].iopadr')
Engine/entry1.c:653: `zkr' undeclared here (not in a function)
Engine/entry1.c:653: initializer element is not constant
Engine/entry1.c:653: (near initialization for `opcodlst_1[400].kopadr')
Engine/entry1.c:654: `ziw' undeclared here (not in a function)
Engine/entry1.c:654: initializer element is not constant
Engine/entry1.c:654: (near initialization for `opcodlst_1[401].iopadr')
Engine/entry1.c:655: `zkset' undeclared here (not in a function)
Engine/entry1.c:655: initializer element is not constant
Engine/entry1.c:655: (near initialization for `opcodlst_1[402].iopadr')
Engine/entry1.c:655: `zkw' undeclared here (not in a function)
Engine/entry1.c:655: initializer element is not constant
Engine/entry1.c:655: (near initialization for `opcodlst_1[402].kopadr')
Engine/entry1.c:656: `ziwm' undeclared here (not in a function)
Engine/entry1.c:656: initializer element is not constant
Engine/entry1.c:656: (near initialization for `opcodlst_1[403].iopadr')
Engine/entry1.c:657: `zkset' undeclared here (not in a function)
Engine/entry1.c:657: initializer element is not constant
Engine/entry1.c:657: (near initialization for `opcodlst_1[404].iopadr')
Engine/entry1.c:657: `zkwm' undeclared here (not in a function)
Engine/entry1.c:657: initializer element is not constant
Engine/entry1.c:657: (near initialization for `opcodlst_1[404].kopadr')
Engine/entry1.c:658: `zkmod' undeclared here (not in a function)
Engine/entry1.c:658: initializer element is not constant
Engine/entry1.c:658: (near initialization for `opcodlst_1[405].kopadr')
Engine/entry1.c:659: `zkset' undeclared here (not in a function)
Engine/entry1.c:659: initializer element is not constant
Engine/entry1.c:659: (near initialization for `opcodlst_1[406].iopadr')
Engine/entry1.c:659: `zkcl' undeclared here (not in a function)
Engine/entry1.c:659: initializer element is not constant
Engine/entry1.c:659: (near initialization for `opcodlst_1[406].kopadr')
Engine/entry1.c:660: `zaset' undeclared here (not in a function)
Engine/entry1.c:660: initializer element is not constant
Engine/entry1.c:660: (near initialization for `opcodlst_1[407].iopadr')
Engine/entry1.c:660: `zar' undeclared here (not in a function)
Engine/entry1.c:660: initializer element is not constant
Engine/entry1.c:660: (near initialization for `opcodlst_1[407].aopadr')
Engine/entry1.c:661: `zaset' undeclared here (not in a function)
Engine/entry1.c:661: initializer element is not constant
Engine/entry1.c:661: (near initialization for `opcodlst_1[408].iopadr')
Engine/entry1.c:661: `zarg' undeclared here (not in a function)
Engine/entry1.c:661: initializer element is not constant
Engine/entry1.c:661: (near initialization for `opcodlst_1[408].aopadr')
Engine/entry1.c:662: `zaset' undeclared here (not in a function)
Engine/entry1.c:662: initializer element is not constant
Engine/entry1.c:662: (near initialization for `opcodlst_1[409].iopadr')
Engine/entry1.c:662: `zaw' undeclared here (not in a function)
Engine/entry1.c:662: initializer element is not constant
Engine/entry1.c:662: (near initialization for `opcodlst_1[409].aopadr')
Engine/entry1.c:663: `zaset' undeclared here (not in a function)
Engine/entry1.c:663: initializer element is not constant
Engine/entry1.c:663: (near initialization for `opcodlst_1[410].iopadr')
Engine/entry1.c:663: `zawm' undeclared here (not in a function)
Engine/entry1.c:663: initializer element is not constant
Engine/entry1.c:663: (near initialization for `opcodlst_1[410].aopadr')
Engine/entry1.c:664: `zamod' undeclared here (not in a function)
Engine/entry1.c:664: initializer element is not constant
Engine/entry1.c:664: (near initialization for `opcodlst_1[411].aopadr')
Engine/entry1.c:665: `zaset' undeclared here (not in a function)
Engine/entry1.c:665: initializer element is not constant
Engine/entry1.c:665: (near initialization for `opcodlst_1[412].iopadr')
Engine/entry1.c:665: `zacl' undeclared here (not in a function)
Engine/entry1.c:665: initializer element is not constant
Engine/entry1.c:665: (near initialization for `opcodlst_1[412].aopadr')
Engine/entry1.c:666: `zaset' undeclared here (not in a function)
Engine/entry1.c:666: initializer element is not constant
Engine/entry1.c:666: (near initialization for `opcodlst_1[413].iopadr')
Engine/entry1.c:666: `inz' undeclared here (not in a function)
Engine/entry1.c:666: initializer element is not constant
Engine/entry1.c:666: (near initialization for `opcodlst_1[413].aopadr')
Engine/entry1.c:667: `zaset' undeclared here (not in a function)
Engine/entry1.c:667: initializer element is not constant
Engine/entry1.c:667: (near initialization for `opcodlst_1[414].iopadr')
Engine/entry1.c:667: `outz' undeclared here (not in a function)
Engine/entry1.c:667: initializer element is not constant
Engine/entry1.c:667: (near initialization for `opcodlst_1[414].aopadr')
Engine/entry1.c:668: `timek' undeclared here (not in a function)
Engine/entry1.c:668: initializer element is not constant
Engine/entry1.c:668: (near initialization for `opcodlst_1[415].iopadr')
Engine/entry1.c:669: `timesr' undeclared here (not in a function)
Engine/entry1.c:669: initializer element is not constant
Engine/entry1.c:669: (near initialization for `opcodlst_1[416].iopadr')
Engine/entry1.c:670: `timek' undeclared here (not in a function)
Engine/entry1.c:670: initializer element is not constant
Engine/entry1.c:670: (near initialization for `opcodlst_1[417].kopadr')
Engine/entry1.c:671: `timesr' undeclared here (not in a function)
Engine/entry1.c:671: initializer element is not constant
Engine/entry1.c:671: (near initialization for `opcodlst_1[418].kopadr')
Engine/entry1.c:672: `instimset' undeclared here (not in a function)
Engine/entry1.c:672: initializer element is not constant
Engine/entry1.c:672: (near initialization for `opcodlst_1[419].iopadr')
Engine/entry1.c:672: `instimek' undeclared here (not in a function)
Engine/entry1.c:672: initializer element is not constant
Engine/entry1.c:672: (near initialization for `opcodlst_1[419].kopadr')
Engine/entry1.c:673: `instimset' undeclared here (not in a function)
Engine/entry1.c:673: initializer element is not constant
Engine/entry1.c:673: (near initialization for `opcodlst_1[420].iopadr')
Engine/entry1.c:673: `instimes' undeclared here (not in a function)
Engine/entry1.c:673: initializer element is not constant
Engine/entry1.c:673: (near initialization for `opcodlst_1[420].kopadr')
Engine/entry1.c:674: `peakk' undeclared here (not in a function)
Engine/entry1.c:674: initializer element is not constant
Engine/entry1.c:674: (near initialization for `opcodlst_1[421].kopadr')
Engine/entry1.c:675: `peaka' undeclared here (not in a function)
Engine/entry1.c:675: initializer element is not constant
Engine/entry1.c:675: (near initialization for `opcodlst_1[422].aopadr')
Engine/entry1.c:676: `printkset' undeclared here (not in a function)
Engine/entry1.c:676: initializer element is not constant
Engine/entry1.c:676: (near initialization for `opcodlst_1[423].iopadr')
Engine/entry1.c:676: `printk' undeclared here (not in a function)
Engine/entry1.c:676: initializer element is not constant
Engine/entry1.c:676: (near initialization for `opcodlst_1[423].kopadr')
Engine/entry1.c:677: `printksset' undeclared here (not in a function)
Engine/entry1.c:677: initializer element is not constant
Engine/entry1.c:677: (near initialization for `opcodlst_1[424].iopadr')
Engine/entry1.c:677: `printks' undeclared here (not in a function)
Engine/entry1.c:677: initializer element is not constant
Engine/entry1.c:677: (near initialization for `opcodlst_1[424].kopadr')
Engine/entry1.c:678: `printsset' undeclared here (not in a function)
Engine/entry1.c:678: initializer element is not constant
Engine/entry1.c:678: (near initialization for `opcodlst_1[425].iopadr')
Engine/entry1.c:679: `printk2set' undeclared here (not in a function)
Engine/entry1.c:679: initializer element is not constant
Engine/entry1.c:679: (near initialization for `opcodlst_1[426].iopadr')
Engine/entry1.c:679: `printk2' undeclared here (not in a function)
Engine/entry1.c:679: initializer element is not constant
Engine/entry1.c:679: (near initialization for `opcodlst_1[426].kopadr')
Engine/entry1.c:682: warning: initialization from incompatible pointer
type
Engine/entry1.c:683: warning: initialization from incompatible pointer
type
Engine/entry1.c:684: warning: initialization from incompatible pointer
type
Engine/entry1.c:684: warning: initialization from incompatible pointer
type
Engine/entry1.c:685: warning: initialization from incompatible pointer
type
Engine/entry1.c:685: warning: initialization from incompatible pointer
type
Engine/entry1.c:686: warning: initialization from incompatible pointer
type
Engine/entry1.c:687: warning: initialization from incompatible pointer
type
Engine/entry1.c:687: warning: initialization from incompatible pointer
type
Engine/entry1.c:688: warning: initialization from incompatible pointer
type
Engine/entry1.c:689: warning: initialization from incompatible pointer
type
Engine/entry1.c:689: warning: initialization from incompatible pointer
type
Engine/entry1.c:690: warning: initialization from incompatible pointer
type
Engine/entry1.c:690: warning: initialization from incompatible pointer
type
Engine/entry1.c:691: warning: initialization from incompatible pointer
type
Engine/entry1.c:692: `kporset' undeclared here (not in a function)
Engine/entry1.c:692: initializer element is not constant
Engine/entry1.c:692: (near initialization for `opcodlst_1[439].iopadr')
Engine/entry1.c:692: `kport' undeclared here (not in a function)
Engine/entry1.c:692: initializer element is not constant
Engine/entry1.c:692: (near initialization for `opcodlst_1[439].kopadr')
Engine/entry1.c:693: `ktonset' undeclared here (not in a function)
Engine/entry1.c:693: initializer element is not constant
Engine/entry1.c:693: (near initialization for `opcodlst_1[440].iopadr')
Engine/entry1.c:693: `ktone' undeclared here (not in a function)
Engine/entry1.c:693: initializer element is not constant
Engine/entry1.c:693: (near initialization for `opcodlst_1[440].kopadr')
Engine/entry1.c:694: `ktonset' undeclared here (not in a function)
Engine/entry1.c:694: initializer element is not constant
Engine/entry1.c:694: (near initialization for `opcodlst_1[441].iopadr')
Engine/entry1.c:694: `katone' undeclared here (not in a function)
Engine/entry1.c:694: initializer element is not constant
Engine/entry1.c:694: (near initialization for `opcodlst_1[441].kopadr')
Engine/entry1.c:695: `krsnset' undeclared here (not in a function)
Engine/entry1.c:695: initializer element is not constant
Engine/entry1.c:695: (near initialization for `opcodlst_1[442].iopadr')
Engine/entry1.c:695: `kreson' undeclared here (not in a function)
Engine/entry1.c:695: initializer element is not constant
Engine/entry1.c:695: (near initialization for `opcodlst_1[442].kopadr')
Engine/entry1.c:696: `krsnset' undeclared here (not in a function)
Engine/entry1.c:696: initializer element is not constant
Engine/entry1.c:696: (near initialization for `opcodlst_1[443].iopadr')
Engine/entry1.c:696: `kareson' undeclared here (not in a function)
Engine/entry1.c:696: initializer element is not constant
Engine/entry1.c:696: (near initialization for `opcodlst_1[443].kopadr')
Engine/entry1.c:697: `klimit' undeclared here (not in a function)
Engine/entry1.c:697: initializer element is not constant
Engine/entry1.c:697: (near initialization for `opcodlst_1[444].iopadr')
Engine/entry1.c:698: `klimit' undeclared here (not in a function)
Engine/entry1.c:698: initializer element is not constant
Engine/entry1.c:698: (near initialization for `opcodlst_1[445].iopadr')
Engine/entry1.c:699: `limitset' undeclared here (not in a function)
Engine/entry1.c:699: initializer element is not constant
Engine/entry1.c:699: (near initialization for `opcodlst_1[446].iopadr')
Engine/entry1.c:699: `klimit' undeclared here (not in a function)
Engine/entry1.c:699: initializer element is not constant
Engine/entry1.c:699: (near initialization for `opcodlst_1[446].kopadr')
Engine/entry1.c:700: `limitset' undeclared here (not in a function)
Engine/entry1.c:700: initializer element is not constant
Engine/entry1.c:700: (near initialization for `opcodlst_1[447].iopadr')
Engine/entry1.c:700: `limit' undeclared here (not in a function)
Engine/entry1.c:700: initializer element is not constant
Engine/entry1.c:700: (near initialization for `opcodlst_1[447].aopadr')
make: *** [libcsound_la-entry1.lo] Error 1
so I decided that clearly the configure etc had failed too deeply. That
is whern I went back to the working build to discover that the files were
not up to date.
==John ff
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ . |