[parisc-linux] compiling PINE under PARISC
John David Anglin
dave@hiauly1.hia.nrc.ca
Sun, 14 Jul 2002 15:00:58 -0400 (EDT)
> 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)