Compiling example code from OPSEC SDK
From: Jon (jonnyspacecowboy_at_gmail.com)
Date: 08/25/04
- Next message: Wolfgang Kueter: "Re: iptables help"
- Previous message: dankim: "Firewall Installation"
- Next in thread: Rob Hughes: "Re: Compiling example code from OPSEC SDK"
- Reply: Rob Hughes: "Re: Compiling example code from OPSEC SDK"
- Reply: Moe Trin: "Re: Compiling example code from OPSEC SDK"
- Maybe reply: strict9: "Re: Compiling example code from OPSEC SDK"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 25 Aug 2004 13:36:24 -0700
Hello all,
I'm having quite the time trying to compile the example code
(specifically the lea_filter.c code) in the OPSEC SDK.
I found the makefile posted on their website, but even with linking to
all the libraries they specify, I still get errors like the following
when trying to compile:
gcc -L/home/telesto/pkg_rel/lib/release.static -L -olea_filter.o
-lopsec -lsicauth -lsic -lcp_policy -lskey -lndb -lckpssl -lcpcert
-lcpcryptutil -lcpprng -lcpbcrypt -lcpca -lasn1cpp -lcpopenssl
-lAppUtils -lEventUtils -lEncode -lComUtils -lResolve -lDataStruct
-lOS -lcpprod50 lea_filter.c
/tmp/ccy980tY.o(.text+0x39): In function `main':
: undefined reference to `opsec_init'
/tmp/ccy980tY.o(.text+0xb5): In function `main':
: undefined reference to `LEA_CLIENT'
/tmp/ccy980tY.o(.text+0xbd): In function `main':
: undefined reference to `opsec_init_entity'
/tmp/ccy980tY.o(.text+0x100): In function `main':
: undefined reference to `LEA_SERVER'
/tmp/ccy980tY.o(.text+0x108): In function `main':
: undefined reference to `opsec_init_entity'
/tmp/ccy980tY.o(.text+0x16c): In function `main':
: undefined reference to `lea_new_suspended_session'
/tmp/ccy980tY.o(.text+0x1d0): In function `main':
: undefined reference to `lea_filter_rulebase_register'
/tmp/ccy980tY.o(.text+0x1de): In function `main':
: undefined reference to `opsec_mainloop'
/tmp/ccy980tY.o(.text+0x213): In function `CleanUpEnvironment':
: undefined reference to `opsec_destroy_entity'
/tmp/ccy980tY.o(.text+0x227): In function `CleanUpEnvironment':
: undefined reference to `opsec_destroy_entity'
/tmp/ccy980tY.o(.text+0x23b): In function `CleanUpEnvironment':
: undefined reference to `opsec_env_destroy'
Any suggestions?
- Next message: Wolfgang Kueter: "Re: iptables help"
- Previous message: dankim: "Firewall Installation"
- Next in thread: Rob Hughes: "Re: Compiling example code from OPSEC SDK"
- Reply: Rob Hughes: "Re: Compiling example code from OPSEC SDK"
- Reply: Moe Trin: "Re: Compiling example code from OPSEC SDK"
- Maybe reply: strict9: "Re: Compiling example code from OPSEC SDK"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|