On Mon, 6 Dec 1999, Arved Sandstrom wrote: > Link error due to order of libraries, most likely. Won't swear to it, > though. :-) What should the order be? I've already got PerlStub first, and already see the gazillion warnings about ignoring things in MSL.C.PPC because they were previously defined in Perl. I tried moving things around in the link order, and saw no improvements. > I attached a Dropstuff archive containing my build procedures (Codewarrior > MPW) for HTML-XS-Parser. Okay. I'll peruse. > 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. Yeah, I had had to do this to track down a CW error I was getting. I'm surprised you didn't see it: I had to move a goto label outside of an "if" so that it wasn't empty (it would have a statement near). Maybe different versions of CW allow this. He also has commas after the last element in his structs, which some people told me gave errors in older versions of CW. Oh, and while we're on the subject, I made a change to your xsubpp_app which you might want to roll in: he includes a "typemap" file in the module directory which isn't seen by xsubpp_app. So, below the other push(@options...) lines, I added push(@options, '-typemap', "$path:typemap") if (-e "$path:typemap"); My question about redirecting stdout earlier was to allow me to script in the future his method of using perl to generate the header/code files. > Try a different link order first for libraries. If that doesn't cut it, > try compiling and linking my Parser.c. Thank you for the work you've put in. I want to be confident of my build understanding more than just getting this module to work. Gyle Aas is coming out with new versions of HTML::Parser almost daily! Sheesh. I'm envious of his productivity. In the time it takes me to figure out just _building_ his module, he's cranked out nearly a dozen revs. Better keep drinking my milk. -- MattLangford # ===== Want to unsubscribe from this list? # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org