Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Compilation error when installing app-pad/pilot-link-0.11.8
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
oneself
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jul 2005
Posts: 107
Location: New York, NY

PostPosted: Tue Jul 12, 2005 3:25 pm    Post subject: Compilation error when installing app-pad/pilot-link-0.11.8 Reply with quote

Hi,

I'm trying to install kde, and the install fails on kpilot-link:
Code:
Making all in Java
make[3]: Entering directory `/var/tmp/portage/pilot-link-0.11.8/work/pilot-link-0.11.8/bindings/Java'
/opt/blackdown-jdk-1.4.2.02/bin/javac -d . ./org/gnu/pilotlink/AddressRecord.java         ./org/gnu/pilotlink/AppInfo.java         ./org/gnu/pilotlink/DatebookRecord.java         ./org/gnu/pilotlink/MemoRecord.java                ./org/gnu/pilotlink/PilotLink.java        ./org/gnu/pilotlink/RawAppInfo.java              ./org/gnu/pilotlink/RawRecord.java        ./org/gnu/pilotlink/Record.java                  ./org/gnu/pilotlink/SysInfo.java          ./org/gnu/pilotlink/User.java                    ./test.java
g++ -I../../include                             -I ../../include                -I ../../include           -I /opt/blackdown-jdk-1.4.2.02/include                  -I /opt/blackdown-jdk-1.4.2.02/include/linux  -L ../../libpisock/.libs -lpisock -shared -o libjpisock.so ./libjpisock.c
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/pilot-link-0.11.8/temp/cc4B1N4s.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/var/tmp/portage/pilot-link-0.11.8/temp/cc4B1N4s.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [java_lib] Error 1
make[3]: Leaving directory `/var/tmp/portage/pilot-link-0.11.8/work/pilot-link-0.11.8/bindings/Java'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/pilot-link-0.11.8/work/pilot-link-0.11.8/bindings'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/pilot-link-0.11.8/work/pilot-link-0.11.8'
make: *** [all-recursive-am] Error 2


Honestly, I don't really understand what's failing. I've tried adding "-fPIC" to my CFLAGS and
recompiling:
Code:
CFLAGS="${CFLAGS} -fPIC" emerge pilot-link


But that didn't see to work. I was also wondering if my make.conf file looks ok, cause I've
been having doubts about it:
Code:

CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -fforce-addr -fweb"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
USE="X gtk2 gnome apache2 apm bash-completion bidi bluetooth cdparanoia cdr cups divx4linux dvd dvdr dvdread emacs enacs-w3 encode ftp gif gphoto2 imap icq aim java javascript jikes jpeg junit kde mp3 mpeg msn mule odbc offensive ogg opengl oss pda perl php png postgres python qt quicktime samba scanner spell spl tetex tiff truetype usb win32codecs wxwindows xine xml2 xmms xpm yahoo ssl"
MAKEOPTS="-j2"
LINGUAS="en he"
#ACCEPT_KEYWORDS="amd64 x86"

SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"


Should I shorten my USE var?
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Tue Jul 12, 2005 4:27 pm    Post subject: Reply with quote

Please see https://forums.gentoo.org/viewtopic-p-1348327.html#1348327

Moved from Installing Gentoo to Duplicate Threads.
_________________
No-one's more important than the earthworm.
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