pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: meta-pkgs/xorg on Sparc Solaris
On Wed, 12 Jul 2006 23:57:22 +0100
Raymond Meyer <raymond.meyer%rambler.ru@localhost> wrote:
> On Wed, 12 Jul 2006 23:24:46 +0100
> Raymond Meyer <raymond.meyer%rambler.ru@localhost> wrote:
>
> > On Thu, 13 Jul 2006 00:09:19 +0200
> > Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:
> >
> > > On Wed, Jul 12, 2006 at 11:03:25PM +0100, Raymond Meyer wrote:
> > > > Hi, I'm building xorg-server and I encouter the following errors:
> > >
> > > [I'm subscriped, no need to CC me :-) ]
> > >
> > > > rm -f libXfont.so.1.5~
> > > > (cd .; LD_RUN_PATH=/opt/pkg/xorg/lib cc -o ./libXfont.so.1.5~ -G -z
> > > > text -L/opt/pkg/lib -L/opt/pkg/xorg/lib -Wl,-R/opt/pkg/lib
> > > > -Wl,-R/opt/pkg/xorg/lib -h libXfont.so.1.5 bitmap/?*.o fontfile/?*.o
> > > > fc/? *.o fontcache/?*.o Type1/?*.o FreeType/?*.o util/?*.o
> > > > -L/opt/pkg.obj/x11/xorg-server/work.e450/xc/exports/lib
> > > > -L/opt/pkg.obj/x11/xorg-server/work.e450/.buildlink/lib
> > > > -Wl,-R /opt/pkg.obj/x11/xorg-server/work.e450/.buildlink/lib -lfreetype
> > > > -lz -lsocket -lm -lc) ld: elf error:
> > > > file /opt/pkg.obj/x11/xorg-server/work.e450/.buildlink/lib: elf_begin:
> > > > I/O error: region read: Is a directory ld: fatal: File processing
> > > > errors. No output written to ./libXfont.so.1.5~ *** Error code 1
> > > >
> > > > The problem here is the following argument passed to cc:
> > > >
> > > > -Wl,-R /opt/pkg.obj/x11/xorg-server/work.e450/.buildlink/lib
> > > >
> > > > there is a space following -R which breaks things
> > >
> > > Does the attached patch make a difference? You need to regenerate the
> > > Makefile afterwards.
> > >
> > > Joerg
> > >
> >
> > Well I fixed the above error by editing Makefile, I'll try your patch next
> > time I build xorg-sever. At the moment I'm stuck on the following error
> >
> > bmake: don't know how to
> > make
> > /opt/pkg.obj/x11/xorg-server/work.e450/xc/programs/Xserver/hw/xfree86/os-support/libxf86_os.a.
> > Stop
> >
> > bmake: stopped in /opt/pkg.obj/x11/xorg-server/work.e450/xc/programs/Xserver
> > *** Error code 2
> >
> > Any hints on what libxf86_os is?
>
> Yes, I can see what happened
>
> /usr/ccs/bin/as -P BUSmemcpy.S
> "BUSmemcpy.S", line 40: Can't find include file assyntax.h
> /usr/ccs/bin/as: "BUSmemcpy.S", line 41: error: unknown opcode "FILE"
> /usr/ccs/bin/as: "BUSmemcpy.S", line 41: error: statement syntax
> /usr/ccs/bin/as: "BUSmemcpy.S", line 43: error: unknown opcode "AS_BEGIN"
> /usr/ccs/bin/as: "BUSmemcpy.S", line 43: error: statement syntax
> /usr/ccs/bin/as: "BUSmemcpy.S", line 56: error: unknown opcode "GLOBL"
> ... and so on
> *** Error code 1
>
> Stop.
> bmake: stopped
> in
> /opt/pkg.obj/x11/xorg-server/work.e450/xc/programs/Xserver/hw/xfree86/os-support/misc
> *** Error code 1
>
> And xc/programs/Xserver/hw/xfree86/os-support/Makefile has the following
> target:
>
> all:: libxf86_os.a
>
> libxf86_os.a: $(SUBDIRS) $(DONES) $(EXTRALIBRARYDEPS)
> $(RM) $@
> $(AR) $@ $(OBJS)
> $(_NULLCMD_)
> $(_NULLCMD_)
>
> which I guess does not get a chance to run, due to above error with BUSmemcpy
> There is assyntax.h file in a directory just above where BUSmemcpy.S is
> located, I tried including it, but it still fails because it has x86
> assembly. Does anyone know what BUSmemcpy.S is for? Is it any use on Sparc
> Solaris??
OK I made further progress, for some reason assembly files, containing x86 code
were used. I had to remove all
/opt/pkg.obj/x11/xorg-server/work.e450/xc/programs/Xserver/hw/xfree86/os-support/misc/*.S
files by hand, this compiled similarly named *.c files and got me going
underway.
Home |
Main Index |
Thread Index |
Old Index