Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge of app-crypt/qca-tls fails with pointer type error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Ast0r
Guru
Guru


Joined: 11 Apr 2006
Posts: 404
Location: Dallas, Tx - USA

PostPosted: Fri Sep 08, 2006 6:40 pm    Post subject: Emerge of app-crypt/qca-tls fails with pointer type error Reply with quote

When I try to merge qca-tls (a dependency of something else I was installing), I get this error
Code:
i686-pc-linux-gnu-g++ -c -pipe -Wall -W -march=prescott -pipe -O2 -fno-strict-aliasing -D_REENTRANT -fPIC  -DQCA_PLUGIN -DOSSL_097 -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_TABLET_SUPPORT -O3 -march=prescott -pipe -fomit-frame-pointer -I/usr/qt/3/mkspecs/linux-g++ -I/var/tmp/portage/qca-tls-1.0-r2/work/qca-tls-1.0 -I/usr/qt/3/include -o qca-tls.o qca-tls.cpp
qca-tls.cpp: In member function `virtual bool RSAKeyContext::createFromDER(const char*, unsigned int)':
qca-tls.cpp:457: error: invalid conversion from `unsigned char**' to `const unsigned char**'
qca-tls.cpp:457: error:   initializing argument 2 of `RSA* d2i_RSA_PUBKEY(RSA**, const unsigned char**, long int)'
qca-tls.cpp: In member function `virtual bool CertContext::createFromDER(const char*, unsigned int)':
qca-tls.cpp:802: error: invalid conversion from `unsigned char**' to `const unsigned char**'
qca-tls.cpp:802: error:   initializing argument 2 of `X509* d2i_X509(X509**, const unsigned char**, long int)'
make: *** [qca-tls.o] Error 1

!!! ERROR: app-crypt/qca-tls-1.0-r2 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  qca-tls-1.0-r2.ebuild, line 32:   Called die


I am using GCC-4.1.1 and glibc-2.4. Here is my make.conf:
Code:
CFLAGS="-O3 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"

MAKEOPTS="-j3"

FEATURES="ccache"
PORTAGE_NICENESS="15"

USE="-evolution bash-completion flac xine glut mng lcms curl audiofile gmp aalib jack bzip2 apache2 dvd ffmpeg ppds remote unicode usb tcpd samba acl gtk arts mmx sse remote unicode kdeenablefinal mozilla mozilla-firefox rrdtool gd flash gtk2 ipv6 alsa oss xinerama tiff java dvd cdr libcaca ffmpeg v5l win32codecs nptl nptlonly acpi xosd wxwindows snmp dvdread xvid divx4linux"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://open-systems.ufl.edu/mirrors/gentoo"
#SYNC="rsync://192.168.0.1/gentoo-portage"

VIDEO_CARDS="fglrx radeon vesa"
ALSA_CARDS="emu10k1"
INPUT_DEVICES="keyboard mouse evdev"


Any ideas?
Back to top
View user's profile Send private message
mimosinnet
Guru
Guru


Joined: 10 Aug 2006
Posts: 549
Location: Barcelona, Spain

PostPosted: Fri Sep 08, 2006 10:39 pm    Post subject: Reply with quote

It has been answered in a previous post:
https://forums.gentoo.org/viewtopic-t-496054-highlight-qcatls.html

I had the same problem. I have added to /etc/portage/package.keywords
Code:
 ~app-crypt/qca-tls-1.0-r3 ~x86


I have emerged qca-tls in another console (and now it emerges the unstable version)

And resumed the update skipping qca-tls-1.0-r2 in the console I am doing the update:
Code:
emerge --resume --skipfirst
Back to top
View user's profile Send private message
tomk
Administrator
Administrator


Joined: 23 Sep 2003
Posts: 7219
Location: Sat in front of my computer

PostPosted: Sat Sep 09, 2006 10:52 am    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads, please follow up to the topic mentioned above.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum