[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] errors building XS bins



On Mon, 6 Dec 1999, Matthew Langford wrote:

> I looked in html_handle in Parser.c, and I can't find either
> Perl_tmps_floor or Perl_tmps_ix!  But I did see a perl_call_method and
> perl_call_sv.  I checked, and I'm pretty sure these are in PerlStub.  I
> _do_ have PerlStub included in my project.  I also have all the necessary
> MacOS libraries included, and I believe the access paths are set
> correctly.  I have edited the .exp file generated, and removed everything
> but the boot_!#$%@!# symbol.  What have I missed?  What and where are
> these mysterious symbols?
> 
Link error due to order of libraries, most likely. Won't swear to it,
though. :-)

I attached a Dropstuff archive containing my build procedures (Codewarrior
MPW) for HTML-XS-Parser.

One thing I did was, after looking at the code and realizing that Gisle
was using #include's to pull in source as opposed to just header-type
stuff, which I detest, I took the two source files that he was doing this
with and just copied them into Parser.c. So I've included Parser.c with
the archive also.

Test reports for tests that had more than just 'ok' type output are also
included. Of some 15 tests, I didn't test 2, although there's no reason to
believe they won't work. One test, filter.t, has 2 subtests: one passed,
one didn't. I wasn't going to beat this up but it looks fixable.

Try a different link order first for libraries. If that doesn't cut it,
try compiling and linking my Parser.c.

Arved



# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org