When I compile this program, I get the error:
ranlib: not
found
make: *** [getopt.a] Error
1
Am I missing something?
~ Jeff
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
/ \ | __ ) | ~Jeffrey Jordan jordanj@abc-naco.com
/ | \ | _ ( Phone: (610)630-2330x216 jljordan@wans.net
/ ++ \ | ) ( Fax: (610)630-2323
|| |||/_| 2550 Blvd. o/t Generals, Norristown PA 19403
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Jeffrey O L Jordan <jljordan@wans.net> wrote:
When I compile this program, I get the error:
ranlib: not
found
make: *** [getopt.a] Error
1
Am I missing something?
ranlib doesn’t exist under QNX.
Looks like the makefile doesn’t have a QNX configuration in it.
Old Unixes used to have a 2-stage process for generating a library:
ar - added things to a library file
ranlib - indexed the file, so things could link against it.
Under QNX, wlib does it all in one shot, and ar is a sym-link to wlib.
You have two choices – either modify the makefile, or create a “fake”
ranlib.
Of the two, creating a “fake” ranlib is probably the easier – a couple
good choices for ranlib are /bin/true or /bin/touch.
(e.g. cp /bin/true /bin/ranlib)
-David
QNX Training Services
dagibbs@qnx.com
Actually, there is a patch. I had to download a “patch”
utility and install it.
Now I have another problem with the install. I’m getting the
error:
make: *** No rule to make target auto-str.c', needed by
auto-str.o’. Stop.
I’ve looked and cannot find the file ‘auto-str.c’. The only files
that have references to auto-str.c are Makefiles.
~ Jeff
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
/ \ | __ ) | ~Jeffrey Jordan jordanj@abc-naco.com
/ | \ | _ ( Phone: (610)630-2330x216 jljordan@wans.net
/ ++ | ) ( Fax: (610)630-2323
|| |||/_| 2550 Blvd. o/t Generals, Norristown PA 19403
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
David Gibbs wrote:
Jeffrey O L Jordan <> jljordan@wans.net> > wrote:
When I compile this program, I get the error:
ranlib: not
found
make: *** [getopt.a] Error
1
Am I missing something?
ranlib doesn’t exist under QNX.
Looks like the makefile doesn’t have a QNX configuration in it.
Old Unixes used to have a 2-stage process for generating a library:
ar - added things to a library file
ranlib - indexed the file, so things could link against it.
Under QNX, wlib does it all in one shot, and ar is a sym-link to wlib.
You have two choices – either modify the makefile, or create a “fake”
ranlib.
Of the two, creating a “fake” ranlib is probably the easier – a couple
good choices for ranlib are /bin/true or /bin/touch.
(e.g. cp /bin/true /bin/ranlib)
-David
Jeffrey O L Jordan <jljordan@wans.net> wrote:
Now I have another problem with the install. I’m getting the
error:
make: *** No rule to make target auto-str.c', needed by
auto-str.o’. Stop.
I’ve looked and cannot find the file ‘auto-str.c’. The only files
that have references to auto-str.c are Makefiles.
Then your source package is missing some files, or you Makefile isn’t correct.
If you need more information on how to modify your makefile check out
http://www.gnu.org/manual/make-3.79.1/html_node/make_toc.html
-Adam
amallory@qnx.com