* libraries linking problem
@ 2001-11-04 6:05 Prasad Valmeti
2001-11-05 8:31 ` Pavel Tsekov
0 siblings, 1 reply; 3+ messages in thread
From: Prasad Valmeti @ 2001-11-04 6:05 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 18710 bytes --]
Hi all,
I have installed gcc on windows using cygwin.
I am linking SNMP++ library using gcc in windows to run snmpget
commands.
I have downloaded SNMP++ for windows, i am trying to link libraries
but i am getting problems.
I am not understanding how to link libraries in cygwin-gcc.
I have snmp_pp_native.dll and also snmp_pp_native.lib after
installing SNMP++ on windows.
I have given path for library file snmp_pp_native.lib, that would
n't work.
I have tried to create snmp_pp_native.def and then from that
snmp_pp_native.a using dlltool, in this case it is telling "No symbols in
in dll".
I am sending error which i am getting and also Makefile which i
have used...
Please help me to sort out this problem....
g++ -g -o sec-snmp snmpGet.o getLib.o snmpConfig.o snmpLoad.o
secmain.o var_defn
.o sur_user.o sur_cust.o simple-server.o mainora.o Cdemo81.o maintst.o -L
C:/ora
cle/ora81/oci/lib/msvc -L C:/oracle/ora81/oci/lib/msvc -L
E:/Axiowave/SECMNGR/sn
mp_native/snmp_native/snmp++/src
: undefined reference to `Vb::get_syntax(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
556
: undefined reference to `Vb::get_syntax(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
563
: undefined reference to `Snmp::error_msg(int)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
566
: undefined reference to `Pdu::~Pdu(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
566
: undefined reference to `Oid::~Oid(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
566
: undefined reference to `Vb::~Vb(void)'
getLib.o: In function `MibObject::set(AttrValSeq, char *)':
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
629
: undefined reference to `Pdu::Pdu(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
629
: undefined reference to `Pdu::~Pdu(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
630
: undefined reference to `Vb::Vb(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
630
: undefined reference to `Vb::~Vb(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
632
: undefined reference to `Oid::Oid(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
632
: undefined reference to `Oid::~Oid(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
634
: undefined reference to `OctetStr::OctetStr(char const *)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
634
: undefined reference to `OctetStr::~OctetStr(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
636
: undefined reference to `CTarget::set_readcommunity(OctetStr const &)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
637
: undefined reference to `CTarget::set_writecommunity(OctetStr const &)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
647
: undefined reference to `OctetStr::~OctetStr(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
647
: undefined reference to `Oid::~Oid(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
647
: undefined reference to `Vb::~Vb(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
647
: undefined reference to `Pdu::~Pdu(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
654
: undefined reference to `OctetStr::~OctetStr(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
654
: undefined reference to `Oid::~Oid(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
654
: undefined reference to `Vb::~Vb(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
654
: undefined reference to `Pdu::~Pdu(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
661
: undefined reference to `OctetStr::~OctetStr(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
661
: undefined reference to `Oid::~Oid(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
661
: undefined reference to `Vb::~Vb(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
661
: undefined reference to `Pdu::~Pdu(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
691
: undefined reference to `Oid::Oid(Oid const &)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
691
: undefined reference to `Vb::set_oid(Oid)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
692
: undefined reference to `Pdu::operator+=(Vb &)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
698
: undefined reference to `Snmp::error_msg(int)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
700
: undefined reference to `OctetStr::~OctetStr(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
700
: undefined reference to `Oid::~Oid(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
700
: undefined reference to `Vb::~Vb(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
700
: undefined reference to `Pdu::~Pdu(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
702
: undefined reference to `OctetStr::~OctetStr(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
702
: undefined reference to `Oid::~Oid(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
702
: undefined reference to `Vb::~Vb(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
702
: undefined reference to `Pdu::~Pdu(void)'
getLib.o: In function `MibObject::validateValue(int, int, char *)':
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
725
: undefined reference to `OctetStr::OctetStr(char const *)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
725
: undefined reference to `OctetStr::~OctetStr(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
726
: undefined reference to `OctetStr::valid(void) const'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
727
: undefined reference to `OctetStr::~OctetStr(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
729
: undefined reference to `OctetStr::~OctetStr(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
736
: undefined reference to `IpAddress::IpAddress(char const *)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
736
: undefined reference to `IpAddress::~IpAddress(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
737
: undefined reference to `Address::valid(void) const'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
738
: undefined reference to `IpAddress::~IpAddress(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
740
: undefined reference to `IpAddress::~IpAddress(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
747
: undefined reference to `Oid::Oid(char const *)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
747
: undefined reference to `Oid::~Oid(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
748
: undefined reference to `Oid::valid(void) const'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
749
: undefined reference to `Oid::~Oid(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
749
: undefined reference to `Oid::~Oid(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
760
: undefined reference to `TimeTicks::TimeTicks(unsigned long)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
760
: undefined reference to `TimeTicks::~TimeTicks(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
761
: undefined reference to `SnmpUInt32::valid(void) const'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
762
: undefined reference to `TimeTicks::~TimeTicks(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
764
: undefined reference to `TimeTicks::~TimeTicks(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
773
: undefined reference to `Gauge32::Gauge32(unsigned long)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
773
: undefined reference to `Gauge32::~Gauge32(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
774
: undefined reference to `SnmpUInt32::valid(void) const'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
775
: undefined reference to `Gauge32::~Gauge32(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
777
: undefined reference to `Gauge32::~Gauge32(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
785
: undefined reference to `Counter32::Counter32(unsigned long)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
786
: undefined reference to `SnmpUInt32::valid(void) const'
getLib.o: In function `MibObject::constVb(int, char *, Vb &)':
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
851
: undefined reference to `OctetStr::OctetStr(char const *)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
851
: undefined reference to `OctetStr::~OctetStr(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
852
: undefined reference to `Vb::set_value(SnmpSyntax const &)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
853
: undefined reference to `OctetStr::~OctetStr(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
858
: undefined reference to `IpAddress::IpAddress(char const *)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
858
: undefined reference to `IpAddress::~IpAddress(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
859
: undefined reference to `Vb::set_value(SnmpSyntax const &)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
860
: undefined reference to `IpAddress::~IpAddress(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
865
: undefined reference to `Oid::Oid(char const *)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
865
: undefined reference to `Oid::~Oid(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
866
: undefined reference to `Vb::set_value(SnmpSyntax const &)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
867
: undefined reference to `Oid::~Oid(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
874
: undefined reference to `TimeTicks::TimeTicks(unsigned long)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
874
: undefined reference to `TimeTicks::~TimeTicks(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
875
: undefined reference to `Vb::set_value(SnmpSyntax const &)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
876
: undefined reference to `TimeTicks::~TimeTicks(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
883
: undefined reference to `Gauge32::Gauge32(unsigned long)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
883
: undefined reference to `Gauge32::~Gauge32(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
884
: undefined reference to `Vb::set_value(SnmpSyntax const &)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
885
: undefined reference to `Gauge32::~Gauge32(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
891
: undefined reference to `Counter32::Counter32(unsigned long)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
892
: undefined reference to `Vb::set_value(SnmpSyntax const &)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
918
: undefined reference to `Vb::set_value(long)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp:
927
: undefined reference to `Vb::set_value(long)'
getLib.o: In function `ostream::_ls(ostream &(*)(ostream &))':
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp(
.da
ta$_vt$3Oid+0xc): undefined reference to `Oid::get_printable(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp(
.da
ta$_vt$3Oid+0x14): undefined reference to `Oid::get_syntax(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp(
.da
ta$_vt$3Oid+0x1c): undefined reference to `Oid::clone(void) const'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp(
.da
ta$_vt$3Oid+0x24): undefined reference to `Oid::~Oid(void)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp(
.da
ta$_vt$3Oid+0x2c): undefined reference to `Oid::operator=(SnmpSyntax &)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp(
.da
ta$_vt$3Oid+0x34): undefined reference to `Oid::valid(void) const'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp(
.da
ta$_vt$3Oid+0x3c): undefined reference to `Oid::operator=(char const *)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp(
.da
ta$_vt$3Oid+0x44): undefined reference to `Oid::operator=(Oid const &)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp(
.da
ta$_vt$3Oid+0x4c): undefined reference to `Oid::StrToOid(char const *, SmiOID
*)
'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp(
.da
ta$_vt$3Oid+0x54): undefined reference to `Oid::OidCopy(SmiOID *, SmiOID *)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp(
.da
ta$_vt$3Oid+0x5c): undefined reference to `Oid::OidToStr(SmiOID *, unsigned
long
, char *)'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp(
.te
xt$_$_9Counter32+0x14): undefined reference to
`SnmpUInt32::~SnmpUInt32(void)'
Cdemo81.o: In function `InitProc':
/cygdrive/e/AxioWave/SECMNGR/Sec/src/Cdemo81.c:32: undefined reference to
`OCIIn
itialize'
Cdemo81.o: In function `ExecDML':
/cygdrive/e/AxioWave/SECMNGR/Sec/src/Cdemo81.c:45: undefined reference to
`OCISt
mtExecute'
Cdemo81.o: In function `comtrans':
/cygdrive/e/AxioWave/SECMNGR/Sec/src/Cdemo81.c:114: undefined reference to
`OCIT
ransCommit'
Cdemo81.o: In function `TermSqlStmnt':
/cygdrive/e/AxioWave/SECMNGR/Sec/src/Cdemo81.c:127: undefined reference to
`OCIH
andleFree'
Cdemo81.o: In function `ExecSqlStmnt':
/cygdrive/e/AxioWave/SECMNGR/Sec/src/Cdemo81.c:166: undefined reference to
`OCIH
andleAlloc'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/Cdemo81.c:172: undefined reference to
`OCIS
tmtPrepare'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/Cdemo81.c:184: undefined reference to
`OCIA
ttrGet'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/Cdemo81.c:195: undefined reference to
`OCIS
tmtExecute'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/Cdemo81.c:205: undefined reference to
`OCIA
ttrGet'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/Cdemo81.c:214: undefined reference to
`OCIP
aramGet'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/Cdemo81.c:223: undefined reference to
`OCIA
ttrGet'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/Cdemo81.c:229: undefined reference to
`OCIA
ttrGet'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/Cdemo81.c:235: undefined reference to
`OCIA
ttrGet'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/Cdemo81.c:241: undefined reference to
`OCIA
ttrGet'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/Cdemo81.c:257: undefined reference to
`OCID
efineByPos'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/Cdemo81.c:266: undefined reference to
`OCID
efineByPos'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/Cdemo81.c:274: undefined reference to
`OCID
efineByPos'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/Cdemo81.c:281: undefined reference to
`OCID
efineByPos'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/Cdemo81.c:293: undefined reference to
`OCIP
aramGet'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/Cdemo81.c:299: undefined reference to
`OCIS
tmtExecute'
Cdemo81.o: In function `doBindExec':
/cygdrive/e/AxioWave/SECMNGR/Sec/src/Cdemo81.c:344: undefined reference to
`OCIB
indByName'
Cdemo81.o: In function `GetRow':
/cygdrive/e/AxioWave/SECMNGR/Sec/src/Cdemo81.c:365: undefined reference to
`OCIS
tmtFetch'
Cdemo81.o: In function `DbmLogin':
/cygdrive/e/AxioWave/SECMNGR/Sec/src/Cdemo81.c:402: undefined reference to
`OCIE
nvInit'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/Cdemo81.c:405: undefined reference to
`OCIH
andleAlloc'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/Cdemo81.c:409: undefined reference to
`OCIH
andleAlloc'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/Cdemo81.c:412: undefined reference to
`OCIH
andleAlloc'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/Cdemo81.c:415: undefined reference to
`OCIS
erverAttach'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/Cdemo81.c:419: undefined reference to
`OCIA
ttrSet'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/Cdemo81.c:423: undefined reference to
`OCIH
andleAlloc'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/Cdemo81.c:427: undefined reference to
`OCIA
ttrSet'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/Cdemo81.c:431: undefined reference to
`OCIA
ttrSet'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/Cdemo81.c:436: undefined reference to
`OCIS
essionBegin'
/cygdrive/e/AxioWave/SECMNGR/Sec/src/Cdemo81.c:441: undefined reference to
`OCIA
ttrSet'
Cdemo81.o: In function `checkerr':
/cygdrive/e/AxioWave/SECMNGR/Sec/src/Cdemo81.c:472: undefined reference to
`OCIE
rrorGet'
collect2: ld returned 1 exit status
make: *** [sec-snmp] Error 1
[-- Attachment #2: Makefile --]
[-- Type: text/plain, Size: 2599 bytes --]
sec-snmp : snmpGet.o secmain.o var_defn.o sur_user.o sur_cust.o simple-server.o mainora.o Cdemo81.o maintst.o snmpGet.o getLib.o snmpConfig.o snmpLoad.o
g++ -g -o sec-snmp snmpGet.o getLib.o snmpConfig.o snmpLoad.o secmain.o var_defn.o sur_user.o sur_cust.o simple-server.o mainora.o Cdemo81.o maintst.o -L E:/Axiowave/SECMNGR/snmp_native/snmp_native/snmp++/src -L C:/oracle/ora81/oci/lib/msvc -L C:/oracle/ora81/oci/lib/msvc
snmpGet.o: E:/AxioWave/SECMNGR/Snmp/src/snmpGet.cpp
g++ -c -g E:/AxioWave/SECMNGR/Snmp/src/snmpGet.cpp -I E:/AxioWave/SECMNGR/Snmp/include -I E:/AxioWave/SECMNGR/snmp_native/snmp_native/snmp++/include -I E:/AxioWave/SECMNGR/Sec/include -I c:/oracle/ora81/oci/include -I oracle/rdbms/public -I ../include -L E:/AxioWave/SECMNGR/snmp_native/snmp_native/snmp++/src
getLib.o: E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp
g++ -c -g E:/AxioWave/SECMNGR/Snmp/src/getLib.cpp -I E:/AxioWave/SECMNGR/Snmp/include -I E:/AxioWave/SECMNGR/snmp_native/snmp_native/snmp++/include -I E:/AxioWave/SECMNGR/Sec/include -I c:/oracle/ora81/oci/include -L E:/AxioWave/SECMNGR/snmp_native/snmp_native/snmp++/src
snmpConfig.o: E:/AxioWave/SECMNGR/Snmp/src/snmpConfig.cpp
g++ -c -g E:/AxioWave/SECMNGR/Snmp/src/snmpConfig.cpp -I E:/AxioWave/SECMNGR/Snmp/include -I E:/AxioWave/SECMNGR/snmp_native/snmp_native/snmp++/include -L E:/AxioWave/SECMNGR/snmp_native/snmp_native/snmp++/src
snmpLoad.o: E:/AxioWave/SECMNGR/Snmp/src/snmpLoad.cpp
g++ -c -g E:/AxioWave/SECMNGR/Snmp/src/snmpLoad.cpp -I E:/AxioWave/SECMNGR/Snmp/include -I E:/AxioWave/SECMNGR/snmp_native/snmp_native/snmp++/include
secmain.o: secmain.cpp
g++ -c -g secmain.cpp -I ../include -I C:/oracle/ora81/oci/include -I E:/AxioWave/SECMNGR/Snmp/include -I E:/AxioWave/SECMNGR/snmp_native/snmp_native/snmp++/include -L E:/AxioWave/SECMNGR/snmp_native/snmp_native/snmp++/src
var_defn.o: var_defn.cpp
g++ -c -g var_defn.cpp -I ../include -I c:/oracle/ora81/oci/include
sur_user.o: sur_user.cpp
g++ -c -g sur_user.cpp -I c:/oracle/ora81/oci/include -I ../include
sur_cust.o: sur_cust.cpp
g++ -c -g sur_cust.cpp -I c:/oracle/ora81/oci/include -I ../include
simple-server.o: simple-server.cpp
g++ -c -g simple-server.cpp -I ../include -I c:/oracle/ora81/oci/include
mainora.o: mainora.cpp
g++ -c -g mainora.cpp -I c:/oracle/ora81/oci/include -I ../include
maintst.o: maintst.cpp
g++ -c -g maintst.cpp -I c:/oracle/ora81/oci/include -I ../include
Cdemo81.o: Cdemo81.c
gcc -c -g Cdemo81.c -I c:/oracle/ora81/oci/include -I ../include
clean:
-rm -f *.o core
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: libraries linking problem
2001-11-04 6:05 libraries linking problem Prasad Valmeti
@ 2001-11-05 8:31 ` Pavel Tsekov
0 siblings, 0 replies; 3+ messages in thread
From: Pavel Tsekov @ 2001-11-05 8:31 UTC (permalink / raw)
To: Prasad Valmeti; +Cc: cygwin
Check the maling list archive on cygwin's website for a
post with the subject "Re: linking against dlls" from
Charles S. Wilson posted on 08/24/2001 :)
Btw I think there was a recent discussion on SNMP++ on
the mailing list so you probably could check for that too :)
Prasad Valmeti wrote:
>
> Hi all,
> I have installed gcc on windows using cygwin.
> I am linking SNMP++ library using gcc in windows to run snmpget
> commands.
> I have downloaded SNMP++ for windows, i am trying to link libraries
> but i am getting problems.
> I am not understanding how to link libraries in cygwin-gcc.
>
> I have snmp_pp_native.dll and also snmp_pp_native.lib after
> installing SNMP++ on windows.
>
> I have given path for library file snmp_pp_native.lib, that would
> n't work.
> I have tried to create snmp_pp_native.def and then from that
> snmp_pp_native.a using dlltool, in this case it is telling "No symbols in
> in dll".
>
> I am sending error which i am getting and also Makefile which i
> have used...
> Please help me to sort out this problem....
>
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 3+ messages in thread
* libraries linking problem
@ 2001-11-06 1:13 Prasad Valmeti
0 siblings, 0 replies; 3+ messages in thread
From: Prasad Valmeti @ 2001-11-06 1:13 UTC (permalink / raw)
To: Pavel Tsekov; +Cc: cygwin
Hi all,
Sorry for inconvienence ... this is continuation to the mail below.
I have used pexports to make *.def file from the snmp_pp_native.dll.
Then i have created snmp_pp_native.a using dlltool command.
I have given path for that.
But still i am not able to link SNMP++ libraries from cygwin-gcc.
Is there any person who have successfully linked SNMP++ libraries
using cygwin-gcc?
Please help me to solve this problem.
Thanks,
Prasad.
-----Original Message-----
From: Pavel Tsekov [ mailto:ptsekov@syntrex.com ]
Sent: Monday, November 05, 2001 10:02 PM
To: Prasad Valmeti
Cc: cygwin@cygwin.com
Subject: Re: libraries linking problem
Check the maling list archive on cygwin's website for a
post with the subject "Re: linking against dlls" from
Charles S. Wilson posted on 08/24/2001 :)
Btw I think there was a recent discussion on SNMP++ on
the mailing list so you probably could check for that too :)
Prasad Valmeti wrote:
>
> Hi all,
> I have installed gcc on windows using cygwin.
> I am linking SNMP++ library using gcc in windows to run snmpget
> commands.
> I have downloaded SNMP++ for windows, i am trying to link
libraries
> but i am getting problems.
> I am not understanding how to link libraries in cygwin-gcc.
>
> I have snmp_pp_native.dll and also snmp_pp_native.lib after
> installing SNMP++ on windows.
>
> I have given path for library file snmp_pp_native.lib, that
would
> n't work.
> I have tried to create snmp_pp_native.def and then from that
> snmp_pp_native.a using dlltool, in this case it is telling "No symbols
in
> in dll".
>
> I am sending error which i am getting and also Makefile which i
> have used...
> Please help me to sort out this problem....
>
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-11-06 1:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-04 6:05 libraries linking problem Prasad Valmeti
2001-11-05 8:31 ` Pavel Tsekov
2001-11-06 1:13 Prasad Valmeti
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).