pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/44401: sysutils/gamin linking problem on SunOS
The following reply was made to PR pkg/44401; it has been noted by GNATS.
From: Jan Guttek <jan.guttek%tekian.eu@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/44401: sysutils/gamin linking problem on SunOS
Date: Sun, 16 Jan 2011 18:26:27 +0100
I've used "LDFLAGS=-lsocket; bmake install" and it worked, so I assume
CFLAGS.SunOS+=-lsocket will too.
On 01/16/2011 06:25 PM, Aleksej Saushev wrote:
> The following reply was made to PR pkg/44401; it has been noted by GNATS.
>
> From: Aleksej Saushev<asau%inbox.ru@localhost>
> To: jan.guttek%tekian.eu@localhost
> Cc: gnats-bugs%netbsd.org@localhost,pkgsrc-bugs%netbsd.org@localhost
> Subject: Re: pkg/44401: sysutils/gamin linking problem on SunOS
> Date: Sun, 16 Jan 2011 20:24:10 +0300
>
> jan.guttek%tekian.eu@localhost writes:
>
> > Package pkgsrc/sysutils/gamin fails to build on SunOS with Sun Studio
> compiler. Please see following:
> >
> > ---
> > libtool: link: cc -xarch=sparc -xchip=ultraT1 -m64 -xO2 -g -O
> -xarch=sparc -xchip=ultraT1 -m64 -xO2 -g -xarch=sparc -xchip=ultraT1 -m64
> -xO2 -g -Wl,-R/usr/pkg/lib -o .libs/gamin gamin.o
> -L/pkg/tmp//pkg/src/sysutils/libgamin/.buildlink/lib
> /pkg/tmp//pkg/src/sysutils/libgamin/gamin-0.1.10/libgamin/.libs/libgamin-1.so
> -R/usr/pkg/lib
> > Undefined first referenced
> > symbol in file
> > socket
> /pkg/tmp//pkg/src/sysutils/libgamin/gamin-0.1.10/libgamin/.libs/libgamin-1.so
> > recvmsg
> /pkg/tmp//pkg/src/sysutils/libgamin/gamin-0.1.10/libgamin/.libs/libgamin-1.so
> > sendmsg
> /pkg/tmp//pkg/src/sysutils/libgamin/gamin-0.1.10/libgamin/.libs/libgamin-1.so
> > connect
> /pkg/tmp//pkg/src/sysutils/libgamin/gamin-0.1.10/libgamin/.libs/libgamin-1.so
> > ld: fatal: Symbol referencing errors. No output written to .libs/gamin
> >
> >>Fix:
> > Add -lsocket.
>
> Have you tried adding "CFLAGS.SunOS += -lsocket" to
> sysutils/gamin/Makefile?
> Does it fix the problem?
>
>
Home |
Main Index |
Thread Index |
Old Index