home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!apple!apple!keith@taligent.com
- From: keith@taligent.com (Keith Rollin)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: Function missing from MPW C library?
- Message-ID: <70437@apple.Apple.COM>
- Date: 24 Jul 92 19:38:37 GMT
- References: <1992Jul23.132750.12392@newstand.syr.edu>
- Sender: daemon@Apple.COM
- Organization: Taligent
- Lines: 43
-
- In article <1992Jul23.132750.12392@newstand.syr.edu>,
- mcnichol@terminator.psy.syr.edu (Brendan T. McNichols) writes:
- >
- > I am getting the following error message when building a project using
- > MPW C:
- >
- > ### Link: Error: Undefined entry, name: (Error 28) "str2dec"
- > Referenced from: _doscan in file: Alliance Drive
- > :Development:MPW:Libraries:CLibraries:CLib881.o
- > ### Link: Errors prevented normal completion.
- > ### MPW Shell - Execution of KLSyn88.makeout terminated.
- > ### MPW Shell - Execution of BuildProgram terminated.
- >
- > It seems to me that this means that the function "str2dec" is missing
- > from the CSANELib881.o library. (It is declared in SANE.h.) I am new
- > using MPW and I'm not sure if there's something here that I should have
- > done but didn't. Does anyone know how to fix this problem? Is str2dec
- > located in some other library? Can I get the code for str2dec and
- > include it in the CSANELib881.o library?
-
- There seem to b versions of str2dec in {Libraries}Runtime.o and
- {PLIbraries}PasLib.o. Whenever I have problems finding a library routine, I use
- the following script.
-
- Set Exit 0
- Set SearchExpression "`Request "Enter regular expression" || Echo '""'`"
- Exit if "{SearchExpression}" == ""
- For folder in "{Libraries}" "{PLibraries}" "{CLibraries}"
- Echo "Searching in {folder}"
- For file In `files -f -s -t "OBJ " "{folder}"`
- DumpObj -mods "{file}" | Search -nf /{SearchExpression}/ opt-3opt3 Dev:Null
- If {status} == 0
- Echo "DumpObj opt-d"{file}opt-d" -m {SearchExpression}"
- End
- End
- End opt-wopt-w "{WorkSheet}"
- Set Exit 1
-
-
- --
- Keith Rollin
- Phantom Programmer
- Taligent, Inc.
-