pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: modular-xorg-libs fail to compile on Solaris SXCE b73



2007/10/31, Daniel Horecki <shinden%linux.pl@localhost>:
> On 10/31/07, Gueven Bay <gueven.bay%googlemail.com@localhost> wrote:
> > Hello to all,
> >
> > My "bmake package" for modular-xorg-libs on my Solaris SXCE b73
> > machine fails with the message at the bottom of this mail.
> >
> > What can I do to successfully compile modular-xorg-libs? I already
> > tried to set X11_TYPE=xorg but then I get another error message at the
> > begin of the process.
> >
>
> set X11_TYPE to modular


Jeremy and Daniel, Thank you for repeating this simple fact for me
which I always forget. (But this time I wrote it into my pkgsrc cheat
sheet which I will soon release under a free license - but first it
should be as complete and "perfect" as posible-.)


Okay, I made a "bmake package" for modular-xorg-libs with X11_TYPE set
to modular.


Now it breaks with this message :-(

gcc -DHAVE_CONFIG_H -I. -I..
-I/usr/pkgsrc/x11/libXft/work/.buildlink/include
-I/usr/pkgsrc/x11/libXft/work/.buildlink/include/freetype2
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -Wpointer-arith
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -fno-strict-aliasing -I../include/X11/Xft -O -MT
xftswap.lo -MD -MP -MF .deps/xftswap.Tpo -c xftswap.c -o xftswap.o
>/dev/null 2>&1
if /bin/ksh ../libtool  --tag=CC --mode=compile gcc  -DHAVE_CONFIG_H
-I. -I. -I..    -I/usr/pkg/include -I/usr/include
-I/usr/pkg/include/freetype2 -I/usr/pkg/include
-I/usr/pkg/include/freetype2 -I/usr/pkg/include -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -I/usr/pkg/include  -Wall -Wpointer-arith
-Wstrict-prototypes      -Wmissing-prototypes -Wmissing-declarations
  -Wnested-externs -fno-strict-aliasing -I../include/X11/Xft -O
-I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -MT
xftxlfd.lo -MD -MP -MF ".deps/xftxlfd.Tpo" -c -o xftxlfd.lo xftxlfd.c;
 then mv -f ".deps/xftxlfd.Tpo" ".deps/xftxlfd.Plo"; else rm -f
".deps/xftxlfd.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I..
-I/usr/pkgsrc/x11/libXft/work/.buildlink/include
-I/usr/pkgsrc/x11/libXft/work/.buildlink/include/freetype2
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -Wpointer-arith
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -fno-strict-aliasing -I../include/X11/Xft -O -MT
xftxlfd.lo -MD -MP -MF .deps/xftxlfd.Tpo -c xftxlfd.c  -fPIC -DPIC -o
.libs/xftxlfd.o
 gcc -DHAVE_CONFIG_H -I. -I..
-I/usr/pkgsrc/x11/libXft/work/.buildlink/include
-I/usr/pkgsrc/x11/libXft/work/.buildlink/include/freetype2
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -Wpointer-arith
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -fno-strict-aliasing -I../include/X11/Xft -O -MT
xftxlfd.lo -MD -MP -MF .deps/xftxlfd.Tpo -c xftxlfd.c -o xftxlfd.o
>/dev/null 2>&1
/bin/ksh ../libtool  --tag=CC --mode=link gcc  -I/usr/pkg/include
-I/usr/pkg/include/freetype2 -I/usr/pkg/include -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -I/usr/pkg/include  -Wall -Wpointer-arith
-Wstrict-prototypes      -Wmissing-prototypes -Wmissing-declarations
  -Wnested-externs -fno-strict-aliasing -I../include/X11/Xft -O
-I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o
libXft.la -rpath /usr/pkg/lib -version-number 2:1:2 -no-undefined
xftcolor.lo xftcore.lo xftdbg.lo xftdpy.lo  xftdraw.lo xftextent.lo
xftfont.lo xftfreetype.lo xftglyphs.lo  xftinit.lo xftlist.lo
xftname.lo xftrender.lo xftstr.lo  xftswap.lo xftxlfd.lo
-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lfontconfig   -Wl,-R/usr/pkg/lib
-L/usr/pkg/lib -lfreetype -lz   -Wl,-R/usr/pkg/lib -L/usr/pkg/lib
-lXrender -lX11
gcc -shared -Wl,-h -Wl,libXft.so.2 -o .libs/libXft.so.2.1.2
.libs/xftcolor.o .libs/xftcore.o .libs/xftdbg.o .libs/xftdpy.o
.libs/xftdraw.o .libs/xftextent.o .libs/xftfont.o .libs/xftfreetype.o
.libs/xftglyphs.o .libs/xftinit.o .libs/xftlist.o .libs/xftname.o
.libs/xftrender.o .libs/xftstr.o .libs/xftswap.o .libs/xftxlfd.o
-R/usr/pkgsrc/x11/libXft/work/.buildlink/lib
-R/usr/pkgsrc/x11/libXft/work/.buildlink/lib
-L/usr/pkgsrc/x11/libXft/work/.buildlink/lib
/usr/pkgsrc/x11/libXft/work/.buildlink/lib/libfontconfig.so
/usr/pkgsrc/x11/libXft/work/.buildlink/lib/libfreetype.so -lz
/usr/pkgsrc/x11/libXft/work/.buildlink/lib/libXrender.so
/usr/pkgsrc/x11/libXft/work/.buildlink/lib/libX11.so -lc
-Wl,-R/usr/pkg/lib
ld: fatal: relocation error: R_386_GOTOFF: file .libs/xftdpy.o: symbol
_XftDisplayInfo: a GOT relative relocation must reference a local
symbol
ld: fatal: relocation error: R_386_GOTOFF: file .libs/xftdpy.o: symbol
_XftDisplayInfo: a GOT relative relocation must reference a local
symbol
ld: fatal: relocation error: R_386_GOTOFF: file .libs/xftdpy.o: symbol
_XftDisplayInfo: a GOT relative relocation must reference a local
symbol
ld: fatal: relocation error: R_386_GOTOFF: file .libs/xftdpy.o: symbol
_XftDisplayInfo: a GOT relative relocation must reference a local
symbol
ld: fatal: relocation error: R_386_GOTOFF: file .libs/xftdpy.o: symbol
_XftDisplayInfo: a GOT relative relocation must reference a local
symbol
ld: fatal: relocation error: R_386_GOTOFF: file .libs/xftdpy.o: symbol
_XftDisplayInfo: a GOT relative relocation must reference a local
symbol
ld: fatal: relocation error: R_386_GOTOFF: file .libs/xftdpy.o: symbol
_XftDisplayInfo: a GOT relative relocation must reference a local
symbol
ld: fatal: relocation error: R_386_GOTOFF: file .libs/xftdpy.o: symbol
_XftDisplayInfo: a GOT relative relocation must reference a local
symbol
ld: fatal: relocation error: R_386_GOTOFF: file .libs/xftdpy.o: symbol
_XftDisplayInfo: a GOT relative relocation must reference a local
symbol
collect2: ld returned 1 exit status
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/x11/libXft/work/libXft-2.1.12/src
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/x11/libXft/work/libXft-2.1.12
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/x11/libXft/work/libXft-2.1.12
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/x11/libXft
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/x11/libXft
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/meta-pkgs/modular-xorg-libs



((Am I the only one with this lack of luck in pkgsrc? ))



Home | Main Index | Thread Index | Old Index