Never mind about this issue I reported earlier concerning the failures when
building "expect".  I found the problem.  My configuration of "expect" was
hosed with respect to using --prefix, --with-tcl, etc.  The "anomaly" is
recorded in the output file I attached with the initial email --- I just
didn't see it until now.

Once again, sorry for the false alarm.

Dave

On 9/12/07, David Whitney <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am in Chapter 9 of the CLFS Guide (SVN-20070911-x86) and I am having
> trouble building expect-5.43.0.
>
> I've attached a file containing the entire dump from the build process,
> and below is the specific error:
>
> gcc    -Wl,--export-dynamic -o expect_installed exp_main_exp.o -L -
> lexpect5.43 -L/lib -ltcl8.4  -ldl  -lieee -lm -lutil -Wl,-rpath,/lib:/lib
> exp_main_exp.o: In function `main':
> exp_main_exp.c:(.text+0x78): undefined reference to `Expect_Init'
> exp_main_exp.c:(.text+0xbd): undefined reference to `exp_parse_argv'
> exp_main_exp.c:(.text+0xc5): undefined reference to `exp_interactive'
> exp_main_exp.c:(.text+0xd6): undefined reference to `exp_interpreter'
> exp_main_exp.c:(.text+0xe0): undefined reference to `exp_cmdfile'
> exp_main_exp.c:(.text+0xe9): undefined reference to `exp_cmdfile'
> exp_main_exp.c:(.text+0xf5): undefined reference to
> `exp_interpret_cmdfile'
> exp_main_exp.c:(.text+0x102): undefined reference to `exp_cmdfilename'
> exp_main_exp.c:(.text+0x10b): undefined reference to `exp_cmdfilename'
> exp_main_exp.c:(.text+0x117): undefined reference to
> `exp_interpret_cmdfilename'
> collect2: ld returned 1 exit status
> make[1]: *** [expect_installed] Error 1
>
>
> Can anyone help explain the -L above (with no path), and also let me know
> if /tools/bin/gcc "knows" how to find libdl.a, libieee.a, etc.?
>
> I do not know if this matters, but here are the current contents of the
> /lib directory:
>
> expect5.43/  libexpect5.43.a  libtcl8.4.so*  libtclstub8.4.a  tcl8.4/
> tclConfig.sh
>
> Dave
>
>
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support

Reply via email to