undefined reference to... errors when compiling program

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When I try to compile sixfour I get the following
errors:

make[1]: Entering directory
`/home/andrew/.ht/sixfour/PeerLayer/TP'
g++ -Wall -I.. -I../../LinkLayer -I../../aes -DLINUX
-O2 -static -s -DUSES_SSL_LINKLAYER -o TrustedPeer
Clerver.o  Config.o  Discovery.o  Upload.o 
TrustedPeer.o        IDSCheck.o
../../LinkLayer/LinkLayer_SSL.o
../../LinkLayer/Link_SSL.o ../../LinkLayer/compat.o
../../LinkLayer/ssl.o ../../LinkLayer/ssl_ctx.o
../../aes/rij.o ../../aes/rijndael-alg-fst.o
../../aes/rijndael-api-fst.o -lssl -lcrypto -lpthread
-L/usr/kerberos/lib
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libssl.a(kssl.o)(.text+0x187):
In function `populate_cksumlens':
: undefined reference to `valid_cksumtype'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libssl.a(kssl.o)(.text+0x1bc):
In function `populate_cksumlens':
: undefined reference to `krb5_checksum_size'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libssl.a(kssl.o)(.text+0x1f3):
In function `populate_cksumlens':
: undefined reference to `krb5_checksum_size'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libssl.a(kssl.o)(.text+0x6d4):
In function `kssl_cget_tkt':
: undefined reference to `krb5_free_context'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libssl.a(kssl.o)(.text+0x6ee):
In function `kssl_cget_tkt':
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libssl.a(kssl.o)(.text+0xdde):
In function `kssl_sget_tkt':
: undefined reference to `krb5_free_principal'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libssl.a(kssl.o)(.text+0xdf2):
In function `kssl_sget_tkt':
: undefined reference to `krb5_free_ticket'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libssl.a(kssl.o)(.text+0xe16):
In function `kssl_sget_tkt':
: undefined reference to `krb5_auth_con_getrcache'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libssl.a(kssl.o)(.text+0xe58):
In function `kssl_sget_tkt':
: undefined reference to `krb5_sname_to_principal'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libssl.a(kssl.o)(.text+0xe93):
In function `kssl_sget_tkt':
: undefined reference to `krb5_get_server_rcache'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libssl.a(kssl.o)(.text+0xebc):
In function `kssl_sget_tkt':
: undefined reference to `krb5_auth_con_setrcache'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libssl.a(kssl.o)(.text+0xeed):
In function `kssl_sget_tkt':
: undefined reference to `krb5_kt_resolve'
<alot of errors omitted>
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libssl.a(kssl.o)(.text+0x1d0f):
In function `kssl_validate_times':
: undefined reference to `krb5_timeofday'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libssl.a(kssl.o)(.text+0x1d23):
In function `kssl_validate_times':
: undefined reference to `krb5_free_context'
collect2: ld returned 1 exit status
make[1]: *** [TrustedPeer] Error 1
make[1]: Leaving directory
`/home/andrew/.ht/sixfour/PeerLayer/TP'
make: *** [all] Error 2

What can I do to make this program compile?



__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com




[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux