X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: David Gravereaux Newsgroups: comp.os.msdos.djgpp Subject: library file problem, unknown origin. Organization: none.. lost in anarchy Message-ID: <9jgo7usudtnhnn9iqcrcs1ktm1tan7pktu@4ax.com> X-Newsreader: Forte Agent 1.8/32.553 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 41 NNTP-Posting-Host: 64.168.252.154 X-Complaints-To: abuse AT prodigy DOT net X-Trace: newssvr21.news.prodigy.com 1014777088 ST000 64.168.252.154 (Tue, 26 Feb 2002 21:31:28 EST) NNTP-Posting-Date: Tue, 26 Feb 2002 21:31:28 EST X-UserInfo1: SCSYASVETRSASU@[XJMDM^P AT VZ\LPCXLLBWLOOAFBATBTSUBYFWEAE[YJLYPIWKHTFCMZKVMB^[Z^DOBRVVMOSPFHNSYXVDIE AT X\BUC AT GTSX@DL^GKFFHQCCE\G[JJBMYDYIJCZM AT AY]GNGPJD]YNNW\GSX^GSCKHA[]@CCB\[@LATPD\L AT J\\PF]VR[QPJN Date: Wed, 27 Feb 2002 02:31:28 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Sources where compiled with -mno-80387. All goes great until I link: $(TCLSH) : $(TMP_DIR)/tclshrl.o $(TMP_DIR)/tclreadline.o $(TCL_LIB_FILE) $(TCPIP_LIB) $(CC) -o $@ -lemu -lreadline $^ Which result in: gcc -o out/dos-ix86/bin/tclsh84.exe -lemu -lreadline build/tclshrl.o build/tclre adline.o out/dos-ix86/lib/libtcl84.a d:/watts32-2.1r5/lib/libwatt.a And gives me pages of the following: build/tclreadline.o(.text+0xa4f):tclreadline.c: undefined reference to `rl_callback_handler_install' build/tclreadline.o(.text+0xb3a):tclreadline.c: undefined reference to `write_history' build/tclreadline.o(.text+0xb92):tclreadline.c: undefined reference to `history_truncate_file' build/tclreadline.o(.text+0xe4b):tclreadline.c: undefined reference to `rl_reset_terminal' build/tclreadline.o(.text+0xe6d):tclreadline.c: undefined reference to `ding' ^-- Those are all part of libreadline.a, which is in c:/djgpp/lib out/dos-ix86/lib/libtcl84.a(tclBasic.o)(.text+0x30d1):tclBasic.c: undefined reference to `__fixdfsi' out/dos-ix86/lib/libtcl84.a(tclBasic.o)(.text+0x31ff):tclBasic.c: undefined reference to `__floatsidf' out/dos-ix86/lib/libtcl84.a(tclBasic.o)(.text+0x333b):tclBasic.c: undefined reference to `__nedf2' out/dos-ix86/lib/libtcl84.a(tclBasic.o)(.text+0x33ed):tclBasic.c: undefined reference to `__fixdfsi' out/dos-ix86/lib/libtcl84.a(tclBasic.o)(.text+0x3483):tclBasic.c: undefined reference to `__floatsidf' out/dos-ix86/lib/libtcl84.a(tclBasic.o)(.text+0x350b):tclBasic.c: undefined reference to `__nedf2' ^--- Aren't those part of the fpu emulation library libemu.a? I'm at a total loss.. Anyone have some ideas what's going on? -- David Gravereaux [species: human; planet: earth,milkyway,alpha sector] Please be aware of the 7.5 year ping times when placing a call from alpha centari