Bones for tkined.

Jim Searle (jims@vlsi-az.sps.mot.com)
Wed, 5 Oct 1994 09:30:23 -0700

I hope this is appropriate for the tkined list....

Has anybody gotton "bones" for tkined compiled on HP-UX?

The first problem I had was syntax errors with the HP ANSI C compiler.

jims@minnie 356> make CC=gcc
(cd rgdbm; make)
rpcgen rpcgdbm.x
cc -c -O -I/usr/local/include rpcgdbm.c
cc -c -O -I/usr/local/include rpcgdbm_clnt.c
cc -c -O -I/usr/local/include rpcgdbm_xdr.c
ar cru librgdbm.a rpcgdbm_clnt.o rpcgdbm.o rpcgdbm_xdr.o
ranlib librgdbm.a
ranlib: ar already did it for you, see ar(1).
cc -c -O -I/usr/local/include server.c
cc: "/usr/local/include/gdbm.h", line 172: warning 5: "const" will become a
keyword.
cc: "/usr/local/include/gdbm.h", line 172: error 1000: Unexpected symbol:
"char".
*** Error code 1

Stop.
*** Error code 1

Stop.

So I switched to gcc and now it's having problems finding an rpc function...

jims@minnie 361> make
(cd rgdbm; make)
rpcgen rpcgdbm.x
gcc -c -O -I/usr/local/include rpcgdbm.c
gcc -c -O -I/usr/local/include rpcgdbm_clnt.c
gcc -c -O -I/usr/local/include rpcgdbm_xdr.c
ar cru librgdbm.a rpcgdbm_clnt.o rpcgdbm.o rpcgdbm_xdr.o
ranlib librgdbm.a
ranlib: ar already did it for you, see ar(1).
gcc -c -O -I/usr/local/include server.c
gcc -c -O -I/usr/local/include control.c
gcc -c -O -I/usr/local/include rpcgdbm_svc.c
gcc -c -O -I/usr/local/include svc.c
gcc -o rgdbmd server.o control.o rpcgdbm_svc.o rpcgdbm_xdr.o \
svc.o -lgdbm
/bin/ld: Unsatisfied symbols:
_rpc_dtablesize (code)
collect2: ld returned 1 exit status
*** Error code 1

Stop.
*** Error code 1

Stop.

Thanks,

jim

-- 
| Jim Searle   Searle-ljs021@email.mot.com  602-752-2732      |
| Motorola MIMS VLSI Technolgy Center                  __ O   |
| 4625 South Ash Ave. Suite 12, Tempe Arizona 85282  _ \ <_   |
|___________________________________________________( )/ ( )__|
|                                                             |
| "Can I count on you if things get ugly?"                    |
|              - George to Jerry in "The Chinese Restaurant"  |
|_____________________________________________________________|