Linux PARISC architecture development
 help / color / mirror / Atom feed
* [parisc-linux] compiling PINE under PARISC
@ 2002-07-14 16:21 Stephan Trajkoff
  2002-07-14 16:58 ` Peter Mottram
  2002-07-14 19:00 ` John David Anglin
  0 siblings, 2 replies; 3+ messages in thread
From: Stephan Trajkoff @ 2002-07-14 16:21 UTC (permalink / raw)
  To: parisc-linux

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [parisc-linux] compiling PINE under PARISC
  2002-07-14 16:21 [parisc-linux] compiling PINE under PARISC Stephan Trajkoff
@ 2002-07-14 16:58 ` Peter Mottram
  2002-07-14 19:00 ` John David Anglin
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Mottram @ 2002-07-14 16:58 UTC (permalink / raw)
  To: Stephan Trajkoff; +Cc: parisc-linux@lists.parisc-linux.org

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

On Sun, 14 Jul 2002, Stephan Trajkoff wrote:

> 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
> parisc-linux@lists.parisc-linux.org
> http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [parisc-linux] compiling PINE under PARISC
  2002-07-14 16:21 [parisc-linux] compiling PINE under PARISC Stephan Trajkoff
  2002-07-14 16:58 ` Peter Mottram
@ 2002-07-14 19:00 ` John David Anglin
  1 sibling, 0 replies; 3+ messages in thread
From: John David Anglin @ 2002-07-14 19:00 UTC (permalink / raw)
  To: Stephan Trajkoff; +Cc: parisc-linux

> 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
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-07-14 19:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-14 16:21 [parisc-linux] compiling PINE under PARISC Stephan Trajkoff
2002-07-14 16:58 ` Peter Mottram
2002-07-14 19:00 ` John David Anglin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox