Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!otello!gear!cadlab!staff From: staff@cadlab.sublink.ORG (Alex Martelli) Newsgroups: comp.sources.d,sublink.sources.forum Subject: problems building abc Summary: missing objects in abc for System-V, et al. Message-ID: <565@cadlab.sublink.ORG> Date: 24 Dec 90 10:31:41 GMT Distribution: comp Organization: CAD.LAB, Bologna, Italia Lines: 39 There are problems with the large, interesting abc package. Some have already been identified (i.e. the getwd() business), although the suggested patch as posted does not seem to clear them up yet - a minor point, though. Another one is the way program brand, inside Setup, goes about identifying the kind of Unix one has. It FIRST sees if SIGCHLD is #defined, and if so, it EXCLUDES that one may have an AT&T System-V variant. But I have tried it on both Interactive System V/386 3.2 version 2.2, and HP/UX 7.0, two Sys/V flavors, and BOTH *do* define SIGCHLD *as well as* SIGCLD; so it seems Setup has it upside-down. I have changed it to FIRST test for SIGCLD (as identification of Sys/III or Sys/V), and only if that is not set if SIGCHLD then tested. This way, both of my systems are correctly identified as S/V. With this change, all the compilations in the make go flawlessly. Unfortunately, there seems to be LOTS of pieces missing; the linking step collapses in flames. Here are the unsolved references, from ld error message reformatted to save several lines: _main _ptnsyze _setintrhandler _resetintrhandler _help _slowterminal _hushbaby _int_mod _int_ldiv _int_quot _nodetype _node5 _node2 _node3 _node1 _node4 _node6 _node8 _node9 _mk_ref _wsp_arg _is_gr_reccall _bws_arg _stripped _split _upper _lower _choice _mk_fun _mk_prd _initsig _use_bed _ins_range _mk_rbounds _mk_trimloc _mk_tbseloc _mk_simploc _mk_how _mk_indirect _ask_for _mkchar _getwd I have the same, identical set of unsolved externals, both on HP/UX and on Interactive 2.2. Some appear to be minor problems related to above-mentioned glitches, e.g. getwd; others look a mite more FUNDAMENTAL - eg. main!; but there are just SO many of them, that I can't think of any simple explanation for them all, unless it be a missing piece! What gives? Awaiting with interest... this one seemed like a nice Christmas gift to start teaching programming to my son - pity! -- Alex Martelli - CAD.LAB s.p.a., v. Stalingrado 45, Bologna, Italia Email: (work:) staff@cadlab.sublink.org, (home:) alex@am.sublink.org Phone: (work:) ++39 (51) 371099, (home:) ++39 (51) 250434; Fax: ++39 (51) 366964 (work only), Fidonet: 332/401.3 (home only).