Nicholas McCurdy wrote:

> rm -f libexpect5.45.so gcc -shared -pipe -O2 -fomit-frame-pointer
> -Wall -fPIC  -Wl,--export-dynamic  -o libexpect5.45.so exp_command.o
> expect.o exp_inter.o exp_regexp.o exp_tty.o exp_log.o exp_main_sub.o
> exp_pty.o exp_trap.o exp_strf.o exp_console.o exp_glob.o exp_win.o
> exp_clib.o exp_closetcl.o exp_memmove.o exp_tty_comm.o exp_chan.o
> Dbg.o pty_termios.o exp_select.o exp_event.o -lutil -lieee -lm
> -Wl,-rpath,/tools/lib -L/tools/lib -ltclstub8.5 : libexpect5.45.so
> gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\"
> -DPACKAGE_VERSION=\"5.45\" -DPACKAGE_STRING=\"expect\ 5.45\"
> -DPACKAGE_BUGREPORT=\"\" -DBUILD_expect= -DSTDC_HEADERS=1
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
> -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
> -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
> -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1
> -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1
> -DMODULE_SCOPE=extern\
> __attribute__\(\(__visibility__\(\"hidden\"\)\)\)
> -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long
> -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1
> -DHAVE_TYPE_OFF64_T=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1
> -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_STROPTS_H=1
> -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1
> -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1
> -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1
> -DHAVE_TIMEZONE_VAR=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1
> -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1
> -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1
> -DSELECT_MASK_TYPE=fd_set -DHAVE_PTMX=1 -DHAVE_TCSETATTR=1 -DPOSIX=1
> -DHAVE_TERMIO=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1
> -DHAVE_SV_TIMEZONE=1  -DTCL_DEBUGGER -DUSE_NON_CONST
> -DSCRIPTDIR=\"/tools/lib/expect5.45\"
> -DEXECSCRIPTDIR=\"/tools/lib/expect5.45\" -DSTTY_BIN=\"/bin/stty\"
> -DDFLT_STTY="\"sane\"" -I. -I"." -I"/tools/include"    -pipe -O2
> -fomit-frame-pointer -Wall -fPIC  -c `echo exp_main_exp.c` -o
> exp_main_exp.o gcc \ -pipe -O2 -fomit-frame-pointer -Wall -fPIC  \
> -Wl,--export-dynamic  \ -o expect exp_main_exp.o \
> -L/mnt/lfs/sources/expect5.45 -lexpect545 \ -L/tools/lib -ltcl8.5 \

You have -lexpect545 where is should be -lexpect5.45.  I don't know what 
causes that as the command is generated in the Makefile and we don't 
modify that in LFS.

Looking at the Makefile, -lexpect5.45 is hard coded.

Looking at Makefile.in, there is

-o expect exp_main_exp.o \
@EXP_BUILD_LIB_SPEC@ \

That later value is set by configure, line 16025.
That's set, in turn at line 16012:

16011 if test $ac_cv_sys_long_file_names = no; then
16012     EXP_LIB_VERSION=$PACKAGE_VERSION_NODOTS
16013 fi

What file system are you building on?  Possibly vfat?

Check through your config.log for:

ac_cv_sys_long_file_names=yes

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to