#2126: Tcl-8.4.17/Tcl-8.5.0 ------------------------------------------+--------------------------------- Reporter: [EMAIL PROTECTED] | Owner: [email protected] Type: enhancement | Status: new Priority: normal | Milestone: 7.0 Component: Book | Version: SVN Severity: normal | Resolution: Keywords: | ------------------------------------------+--------------------------------- Comment (by [EMAIL PROTECTED]):
Even after hacking that #include so it always pulls in <unistd.h>, I get this: gcc -Wl,--export-dynamic -o expect exp_main_exp.o libexpect5.43.a -L/home/matthew/tools/lib -ltcl8.5 -ldl -lieee -lm -lutil -Wl,-rpath,/home/matthew/tools/lib:/home/matthew/tools/lib libexpect5.43.a(exp_command.o): In function `Exp_CloseObjCmd': exp_command.c:(.text+0x3b93): undefined reference to `Tcl_CloseObjCmd' libexpect5.43.a(exp_command.o): In function `Exp_InterReturnObjCmd': exp_command.c:(.text+0x4bb0): undefined reference to `Tcl_ReturnObjCmd' collect2: ld returned 1 exit status make: *** [expect] Error 1 The definitions of both functions are in tclInt.h which is included by exp_command.c. So is this now a missing library on the command line? -- Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2126#comment:6> LFS Trac <http://wiki.linuxfromscratch.org/lfs/> Linux From Scratch: Your Distro, Your Rules. -- http://linuxfromscratch.org/mailman/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
