Article View: gnu.utils.bug
Article #953gnu tar 1.11 problem report
From: Paul Lew
Date: Mon, 28 Sep 1992 05:26
Date: Mon, 28 Sep 1992 05:26
36 lines
2026 bytes
2026 bytes
System: Sun 3/60 running SunOS 4.0, gcc 1.40, bison 1.03 Problem 1: when building the program, it failed on y.tab.c which was generated by getdate.y gcc -g -sun3 -c -o getdate.o y.tab.c getdate.y: In function get_date: getdate.y:858: storage size of `tv' isn't known getdate.y:859: storage size of `tz' isn't known getdate.y:861: `tv' undeclared (first use this function) getdate.y:861: (Each undeclared identifier is reported only once getdate.y:861: for each function it appears in.) getdate.y:861: `tz' undeclared (first use this function) Solution: put -DBSD4_2 in the gcc line fixed the problem, but I am not sure how to make configure generate correct makefile. Notice the configure set -DBSD42=1 which is different from what the y.tab.c expect (BSD4_2). Also the -DBSD42=1 did not appear when compiling y.tab.c. Problem 2: core dump when I replace my old tar (1.08) with 1.11. The command I used was: $ tar -cpvT /tmp/backup-.pub Segmentation fault, core dumped $ dbx /usr/local/bin/tar Reading symbolic information... Read 10368 symbols (dbx) where quote_copy_string(string = (nil)), line 784 in "port.c" print_header(), line 536 in "list.c" finish_header(header = 0x46000), line 1279 in "create.c" dump_file(p = 0x43488 "/tmp/backup-.pub", curdev = -1, toplevel = 1), line 489 in "create.c" create_archive(), line 178 in "create.c" main(argc = 3, argv = 0xefff970, 0xefff980), line 233 in "tar.c" (dbx) Reason: current_file_name is NULL, not sure why
Technical Details
Message-ID:
<9209280526.AA06101@gsgsparc.noname>Path:
arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!darwin.sura.net!wupost!uwm.edu!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!gsg.gsg.COM!lewShow Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!darwin.sura.net!wupost!uwm.edu!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!gsg.gsg.COM!lew From: lew@gsg.gsg.COM (Paul Lew) Subject: gnu tar 1.11 problem report Message-ID: <9209280526.AA06101@gsgsparc.noname> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Mon, 28 Sep 1992 05:26:14 GMT Approved: bug-gnu-utils@prep.ai.mit.edu Lines: 37