Skip to contentSkip to conversation

compiling PINE under PARISC

parisc-linux Stephan Trajkoff 3 participants 3 messages Jul 14, 2002

lore
Share & tools
lore
#0 lore raw

cc -g -DDEBUG -DLNX -DSYSTYPE=3D\"LNX\" -DMOUSE -o pine addrbook.o=20
adrbkcmd.o adrbklib.o args.o bldaddr.o context.o filter.o folder.o=20 help.o helptext.o imap.o init.o mailcap.o mailcmd.o mailindx.o=20 mailpart.o mailview.o newmail.o other.o pine.o reply.o screen.o=20 send.o signals.o status.o strings.o takeaddr.o os.o=20 date.c ../pico/libpico.a ../c-client/c-client.a -lncurses cat ../c- client/LDFLAGS
/usr/bin/ld: other.o(.text 0x3f730): cannot reach=20 000000d6_ClearScreen 0, recompile with -ffunction-sections /usr/bin/ld: other.o(.text 0x3f730): cannot handle R_PARISC_PCREL17F=20 for ClearScreen
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make: *** [pine] Error 1

It is a error with ./build sl5 and slx
same errors:(((
can anyone help?

-->> FREE Perl CGI scripts add WEB ACCESS to your
-->> POP E-Mail accounts! Download today!! http://www.adjeweb.com

#1 lore raw

Are you trying to build pine from sources you have downloaded manually?

I have no problems building v4.44 using apt.....

just make sure you have some source lines in /etc/apt/sources.list - here is my config for use here in NL (line-wrapped a little):

deb http://ftp.nl.debian.org/debian/ woody main non-free contrib deb http://ftp.nl.debian.org/debian-non-US woody/non-US main non-free contrib
deb-src http://ftp.nl.debian.org/debian/ woody main non-free contrib deb-src http://ftp.nl.debian.org/debian-non-US woody/non-US main non-free contrib
deb http://security.debian.org/ woody/updates main contrib non-free deb-src http://security.debian.org/ woody/updates main contrib non-free

Then you can download and build pine perfectly using:

apt-get source pine --build

R.
PeteM

Quoted 27 lines · Stephan Trajkoff

cc -g -DDEBUG -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -o pine addrbook.o
adrbkcmd.o adrbklib.o args.o bldaddr.o context.o filter.o folder.o help.o helptext.o imap.o init.o mailcap.o mailcmd.o mailindx.o mailpart.o mailview.o newmail.o other.o pine.o reply.o screen.o send.o signals.o status.o strings.o takeaddr.o os.o
date.c ../pico/libpico.a ../c-client/c-client.a -lncurses cat ../c- client/LDFLAGS
/usr/bin/ld: other.o(.text 0x3f730): cannot reach 000000d6_ClearScreen 0, recompile with -ffunction-sections /usr/bin/ld: other.o(.text 0x3f730): cannot handle R_PARISC_PCREL17F for ClearScreen
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make: *** [pine] Error 1

It is a error with ./build sl5 and slx
same errors:(((
can anyone help?

-->> FREE Perl CGI scripts add WEB ACCESS to your
-->> POP E-Mail accounts! Download today!! http://www.adjeweb.com

_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

#2 lore raw
In reply to Stephan Trajkoff
Quoted 9 lines

cc -g -DDEBUG -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -o pine addrbook.o
adrbkcmd.o adrbklib.o args.o bldaddr.o context.o filter.o folder.o help.o helptext.o imap.o init.o mailcap.o mailcmd.o mailindx.o mailpart.o mailview.o newmail.o other.o pine.o reply.o screen.o send.o signals.o status.o strings.o takeaddr.o os.o
date.c ../pico/libpico.a ../c-client/c-client.a -lncurses cat ../c- client/LDFLAGS
/usr/bin/ld: other.o(.text 0x3f730): cannot reach 000000d6_ClearScreen 0, recompile with -ffunction-sections

There are various ways to work around this problem. You could try

export CC="gcc -ffunction-sections"

If that doesn't work, you will have to edit BASECFLAGS for the configuration that is being built in various Makefile's, adding -ffunction-sections. You can find the Makefile's with

find . -type f -print|xargs grep BASECFLAGS

Finally, you could use gcc 3.2 for the build.

Dave

Signature · 2 lines
J. David Anglin                                  [email protected]
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)