Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> ProC linking error

ProC linking error

From: <sestaats_at_cs.twsu.edu>
Date: 1997/12/02
Message-ID: <881117722.21248@dejanews.com>#1/1

I'm using curses to create a user interface. I have 3 separate files that get compiled into their respective object files, then the ProC compiler tries to link them together but the linker returns an error... make -f proc.mk EXE=manager.e OBJS="customers.o datalib.o s_manage.o" gcc
-Bdynamic -L/usr/oracle/lib customers.o datalib.o s_manage.o -lsql
/usr/oracle/lib/osntab.o -lsqlnet -lora -lpls -lsqlnet -lora -lnlsrtl3
-lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lm -L/usr/5lib -lc -lm -lcurses
-ltermcap -o vpres ^ ^ ld: Undefined symbol | | __pfast +--------+

__tty_ch  |  __echoit  |  __rawmode  |	__tty  | collect2: ld returned 2
exit status  |	| Note that I've included the -lcurses and -ltermcap

--------------+ I had to modify the proc.mk to include those for linking.
I've made sure that '#include <curses.h>' is in the necessary files. Can anyone shed some light on this?

Thanks!

-------------------==== Posted via Deja News ====-----------------------

      http://www.dejanews.com/ Search, Read, Post to Usenet Received on Tue Dec 02 1997 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US