Home » Developer & Programmer » Precompilers, OCI & OCCI » OCCI and Netbeans (Netbeans 6.0, Oracle 10g, Windows Xp, Cygwin)
icon5.gif  OCCI and Netbeans [message #300779] Mon, 18 February 2008 02:09
Messages: 4
Registered: February 2008
Junior Member
We have setup our own oracle on a different machine running on solaris OS.

From my windows desktop, i am trying to create an simple application to access the db , so im using netbeans and cygwin

when I compiled my sample program i got "Undefined referenced to Environment ... "

ive move the following library to /lib/oracle/lib and put "-l" option on my ide settings..

when i compiled again.. i got the following error

"/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -l-c
collect2: ld returned 1 exit status"

does anybody have any experience or idea with this problem ??
Previous Topic: download pro* c/c++ compiler
Next Topic: Pro*c/C++ compiler free download site
Goto Forum:

Current Time: Fri Oct 28 05:50:57 CDT 2016

Total time taken to generate the page: 0.05941 seconds