[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: For the debian experts - trying to compile PCB
On Tue, Jun 01, 2004 at 09:36:13PM +0200, Mario Klebsch wrote:
> Hi!
>
> Am 01.06.2004 um 18:01 schrieb Xtian Xultz:
>
> >Hello folks!
> >
> >I am new to debian, I am using a distro called Kurumin based on Knoppix
> >that is based on Debian :D
> >I am trying to compile PCB 20040530 but it gives me a loooot of errors
> >like
> >gcc -DNDEBUG -g -O2 -I/usr/X11R6/include -o pcb-bin action.o
> >actionlist.o autoplace.o autoroute.o buffer.o change.o clip.o
> >command.o compat.o control.o copy.o create.o crosshair.o data.o
> >dev_ps.o dev_rs274x.o dialog.o djopt.o draw.o drill.o error.o file.o
> >fileselect.o find.o gui.o heap.o insert.o intersect.o rtree.o
> >lgdialog.o library.o line.o log.o main.o menu.o mirror.o misc.o move.o
> >mtspace.o mymem.o netlist.o output.o parse_l.o parse_y.o pinout.o
> >polygon.o print.o printdialog.o printpanner.o rats.o remove.o report.o
> >res_parse.o res_lex.o resmenu.o rotate.o rubberband.o search.o
> >select.o selector.o set.o sizedialog.o undo.o vector.o -lXext -lX11
> >-lfl -lm -L/usr/X11R6/lib -R/usr/X11R6/lib
> >gcc: unrecognized option `-R/usr/X11R6/lib'
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> -R is an option usually used on solaris. Its Linux equivalent is
> -Wl,-rpath
>
> Since the Linux linker is happy with -R, you also may, as an
> alterlative, change your gcc specs file to allow -R beinig passed to
> your linker. I have the following line in my specs file:
>
Whats highly annoying is that "gcc -Rfoo" doesn't return a failure
making it harder to detect that its not the right thing to do. Thats
why the configure test thinks -R is ok. Maybe -Wl,-rpath should
be tried first.
-Dan
--