[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mig/build/lexxer.c:1825: undefined reference to `yywrap'
From: |
Paul Dufresne |
Subject: |
Re: mig/build/lexxer.c:1825: undefined reference to `yywrap' |
Date: |
Tue, 09 Feb 2021 14:45:21 -0500 |
User-agent: |
Zoho Mail |
---- Le mar., 09 févr. 2021 12:47:49 -0500 Samuel Thibault
<samuel.thibault@gnu.org> écrit ----
> Paul Dufresne, le mar. 09 févr. 2021 12:29:11 -0500, a ecrit:
> It's not looking for bash. It's bash which is looking for "no". See the
> configure log, it told you that it didn't find mig.
>
> Samuel
>
>
I am trying to redo mig.
Did (mix of your README and web documentation):
TARGET_CPPFLAGS=-I"$GNU"/include ../configure --host=i686-gnu
CC=i686-linux-gnu-gcc-10 LD=i686-linux-gnu-ld --prefix="$GNU"
Got:
paul@jacko:~/mymach/mig/build$ LANG=C make all install
Making all in tests
make[1]: Entering directory '/home/paul/mymach/mig/build/tests'
Making all in good
make[2]: Entering directory '/home/paul/mymach/mig/build/tests/good'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/paul/mymach/mig/build/tests/good'
Making all in generate-only
make[2]: Entering directory '/home/paul/mymach/mig/build/tests/generate-only'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/paul/mymach/mig/build/tests/generate-only'
Making all in bad
make[2]: Entering directory '/home/paul/mymach/mig/build/tests/bad'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/paul/mymach/mig/build/tests/bad'
make[2]: Entering directory '/home/paul/mymach/mig/build/tests'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/home/paul/mymach/mig/build/tests'
make[1]: Leaving directory '/home/paul/mymach/mig/build/tests'
make[1]: Entering directory '/home/paul/mymach/mig/build'
i686-linux-gnu-gcc-10 -g -O2 -o migcom error.o global.o header.o lexxer.o
migcom.o parser.o routine.o server.o statement.o string.o type.o user.o utils.o
vprint.o
/usr/lib/gcc-cross/i686-linux-gnu/10/../../../../i686-linux-gnu/bin/ld:
lexxer.o: in function `yylex':
/home/paul/mymach/mig/build/lexxer.c:1825: undefined reference to `yywrap'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:503: migcom] Error 1
make[1]: Leaving directory '/home/paul/mymach/mig/build'
make: *** [Makefile:594: all-recursive] Error 1
paul@jacko:~/mymach/mig/build$
Also, on the build of mach... the configure config.log said:
conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory
9 | #include <ac_nonexistent.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:5187: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU Mach"
| #define PACKAGE_TARNAME "gnumach"
| #define PACKAGE_VERSION "1.8"
| #define PACKAGE_STRING "GNU Mach 1.8"
| #define PACKAGE_BUGREPORT "bug-hurd@gnu.org"
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:5212: result: i686-linux-gnu-gcc-10 -E
configure:5232: i686-linux-gnu-gcc-10 -E conftest.c
configure:5232: $? = 0
configure:5246: i686-linux-gnu-gcc-10 -E conftest.c
conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory
9 | #include <ac_nonexistent.h>
...
config.status:1539: cd . && sed -e '/# am--include-marker/d' Makefile
| make -f - am--depfile
s
# Ugly bootstrap hack to get to-be-generated files created
# Try to guess what file this dependency file is from...
# Ugly bootstrap hack to get to-be-generated files created
# Try to guess what file this dependency file is from...
# Ugly bootstrap hack to get to-be-generated files created
# Try to guess what file this dependency file is from...
# Ugly bootstrap hack to get to-be-generated files created
...
configure:11807: creating ./config.status
configure:13149: Applied a patch to work around a deficiency in
Automake. See `configure.ac' for details.
...
paul@jacko:~/mymach/gnumach/build$ cat config.status.rej
--- config.status 2009-10-26 23:57:14.000000000 +0100
+++ config.status.new 2009-10-27 00:04:26.000000000 +0100
@@ -1553,7 +1553,14 @@
s/.*/./; q'`
as_dir=$dirpart/$fdir; as_fn_mkdir_p
# echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
+ # Try to guess what file this dependency file is from...
+ f=$srcdir/`dirname "$fdir"`/`basename "$file" .Po | sed s/lib[^-]\*-//`
+ for f in "$f"*; do
+ case $f in
+ *.c | *.S) echo "$f"': $(filter-out $(DIST_SOURCES),$(SOURCES))';;
+ *) echo '# dummy';;
+ esac
+ done > "$dirpart/$file"
done
done
}
paul@jacko:~/mymach/gnumach/build$
- My newly compiled Mach hang on start ext2fs:, Paul Dufresne, 2021/02/08
- Re : My newly compiled Mach hang on start ext2fs:, Paul Dufresne, 2021/02/08
- Re : My newly compiled Mach hang on start ext2fs:, Paul Dufresne, 2021/02/08
- Re : apt-get build-dep gnumach did not install mig, Paul Dufresne, 2021/02/09
- Re: Re : apt-get build-dep gnumach did not install mig, Samuel Thibault, 2021/02/09
- Re: Re : apt-get build-dep gnumach did not install mig, Paul Dufresne, 2021/02/09
- Re: Re : apt-get build-dep gnumach did not install mig, Samuel Thibault, 2021/02/09
- Re: Re : apt-get build-dep gnumach did not install mig, Paul Dufresne, 2021/02/09
- Re: Re : apt-get build-dep gnumach did not install mig, Samuel Thibault, 2021/02/09
- Re: mig/build/lexxer.c:1825: undefined reference to `yywrap',
Paul Dufresne <=
- Re: mig/build/lexxer.c:1825: undefined reference to `yywrap', Paul Dufresne, 2021/02/09
- "fatal error: ac_nonexistent.h: No such file or directory" is the expected result, Paul Dufresne, 2021/02/09
- Re: mig/build/lexxer.c:1825: undefined reference to `yywrap', Samuel Thibault, 2021/02/10
- Re: mig/build/lexxer.c:1825: undefined reference to `yywrap', Samuel Thibault, 2021/02/10
- Re: mig/build/lexxer.c:1825: undefined reference to `yywrap', Paul Dufresne, 2021/02/11
- Re: mig/build/lexxer.c:1825: undefined reference to `yywrap', Samuel Thibault, 2021/02/11
Re: My newly compiled Mach hang on start ext2fs:, Samuel Thibault, 2021/02/09