This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: binutils v2.9.1.0.24 configure errors with bash v1.14.7 and lex warnings


> 
> 
> Hi hjl,
>      I'd like to reiterate that the '--export-dynamic' option for
> configure is the cause of the exec_prefix being set to null in the
> makefile. See my email reply on 5/7/99.
> 
>     Below are the results in item (B) with using bash v1.14.7 from
> ftp.gnu.org. I compiled and just ran this version of bash which will pop
> another shell. (save time without installing it). I then ran the configure
> with all the options.   I noticed that the config.status file for 
> --export-dynamic=   implies that there are options for it due to the "="
> sign, but the ./binutils-2.9.1.0.24/ld/README doesn't mention any options.
> What are the valid ones? If there are options, please update the README.
> Please put all configure options in the root source directory, since this
> will minimize having to go up and down the directories looking for them
> all. Thanks. :)
> 
> 
>     Item (A) again shows the lex compile warnings although I have flex
> 2.5.4.
> 
> 
> 
> 
> A).       Here are the lex warnings I get....
>           I have flex 2.5.4a
> 
> 
> if [ -r syslex.c ]; then \
>   gcc -c -I. -g -O2  syslex.c  ; \
> else \
>   gcc -c -I. -I../../binutils-2.9.1.0.24/binutils -g -O2 ../../binutils-2.9.1.0.24/binutils/syslex.c ;\
> fi
> lex.yy.c:435: warning: prototype for `yywrap' follows
> syslex.l:8: warning: non-prototype definition here
> gcc -g -O2  -o sysinfo sysinfo.o syslex.o 
> ./sysinfo -d <../../binutils-2.9.1.0.24/binutils/sysroff.info >sysroff.h
> 

It is normal.

> 
> B).   Here is the config.status generated after starting a bash v1.14.7
> shell
> 
> 
> # This file was generated automatically by configure.  Do not edit.
> # This directory was configured as follows:
> ../binutils-2.9.1.0.24/configure --host=i686-pc-linux-gnu --prefix=/usr
>   --enable-targets=all --enable-shared --export-dynamic= --norecursion 
> # using "mh-frag" and "mt-frag"
> 
> 

I don't know configure takes  --export-dynamic. I never used it myself.

-- 
H.J. Lu (hjl@gnu.org)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]