Build problem on 64-bit OpenVZ

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

 



HI!

I often build cyrus-sasl 2.1.23 or 2.1.24rc1 on various platforms. But now I'm
running into an issue on such a CentOS system virtualized on 64-bit platform
with OpenVZ:

[root@e2-test-ldap cyrus-sasl-2.1.24]# uname -a
Linux xxx.domain.xy 2.6.26-2-openvz-amd64 #1 SMP Tue Mar 9 23:10:10 UTC 2010
x86_64 x86_64 x86_64 GNU/Linux

See the end of the 2.1.24rc1 build script and console output below.
Any clue what's missing there?

Ciao, Michael.

------------------------------- snip -------------------------------
#!/bin/sh

export BDB=/myprefix
export SASL=/myprefix

export CFLAGS="-g -O0"
export CPPFLAGS="-I${BDB}/include"
export LDFLAGS="-L${BDB}/lib -Wl,-rpath=${BDB}/lib"

rm config.status
make distclean
./configure \
  --prefix=/myprefix \
  --with-inc-libdir=${BDB}/include \
  --with-bdb-libdir=${BDB}/lib \
  --enable-krb4=no \
  --enable-gssapi=no \
  --enable-ldapdb=no \
  --enable-sql=no
make
------------------------------- snip -------------------------------
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../lib -I../sasldb
-I../include -I/myprefix/include -Wall -W -g -O0 -MT digestmd5.lo -MD -MP -MF
.deps/digestmd5.Tpo -c digestmd5.c  -fPIC -DPIC -o digestmd5.lo
digestmd5.c:834: error: expected specifier-qualifier-list before
‘des_key_schedule’
digestmd5.c: In function ‘dec_3des’:
digestmd5.c:871: warning: implicit declaration of function ‘des_ede2_cbc_encrypt’
digestmd5.c:874: error: ‘des_context_t’ has no member named ‘keysched’
digestmd5.c:875: error: ‘des_context_t’ has no member named ‘keysched2’
digestmd5.c:876: error: ‘des_context_t’ has no member named ‘ivec’
digestmd5.c:877: error: ‘DES_DECRYPT’ undeclared (first use in this function)
digestmd5.c:877: error: (Each undeclared identifier is reported only once
digestmd5.c:877: error: for each function it appears in.)
digestmd5.c: In function ‘enc_3des’:
digestmd5.c:922: error: ‘des_context_t’ has no member named ‘keysched’
digestmd5.c:923: error: ‘des_context_t’ has no member named ‘keysched2’
digestmd5.c:924: error: ‘des_context_t’ has no member named ‘ivec’
digestmd5.c:925: error: ‘DES_ENCRYPT’ undeclared (first use in this function)
digestmd5.c: In function ‘init_3des’:
digestmd5.c:945: warning: implicit declaration of function ‘des_key_sched’
digestmd5.c:945: error: ‘des_cblock’ undeclared (first use in this function)
digestmd5.c:945: error: expected expression before ‘)’ token
digestmd5.c:949: error: expected expression before ‘)’ token
digestmd5.c:951: error: ‘des_context_t’ has no member named ‘ivec’
digestmd5.c:958: error: expected expression before ‘)’ token
digestmd5.c:962: error: expected expression before ‘)’ token
digestmd5.c:965: error: ‘des_context_t’ has no member named ‘ivec’
digestmd5.c: In function ‘dec_des’:
digestmd5.c:989: warning: implicit declaration of function ‘des_cbc_encrypt’
digestmd5.c:992: error: ‘des_context_t’ has no member named ‘keysched’
digestmd5.c:993: error: ‘des_context_t’ has no member named ‘ivec’
digestmd5.c:994: error: ‘DES_DECRYPT’ undeclared (first use in this function)
digestmd5.c:998: error: ‘des_context_t’ has no member named ‘ivec’
digestmd5.c: In function ‘enc_des’:
digestmd5.c:1043: error: ‘des_context_t’ has no member named ‘keysched’
digestmd5.c:1044: error: ‘des_context_t’ has no member named ‘ivec’
digestmd5.c:1045: error: ‘DES_ENCRYPT’ undeclared (first use in this function)
digestmd5.c:1049: error: ‘des_context_t’ has no member named ‘ivec’
digestmd5.c: In function ‘init_des’:
digestmd5.c:1069: error: ‘des_cblock’ undeclared (first use in this function)
digestmd5.c:1069: error: expected expression before ‘)’ token
digestmd5.c:1071: error: ‘des_context_t’ has no member named ‘ivec’
digestmd5.c:1078: error: expected expression before ‘)’ token
digestmd5.c:1080: error: ‘des_context_t’ has no member named ‘ivec’
make[2]: *** [digestmd5.lo] Error 1
make[2]: Leaving directory `/source/cyrus-sasl-2.1.24/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/source/cyrus-sasl-2.1.24'
make: *** [all] Error 2


[Index of Archives]     [Info Cyrus]     [Squirrel Mail]     [Linux Media]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux