Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jun 2010 09:28:33 +0200
From:      Mark Stapper <stark@mapper.nl>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   net/vnc fails to build vnc.so on 8.1 Prerelease amd64
Message-ID:  <4C187D21.4070806@mapper.nl>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigC857C805CD667C8E8B651053
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,

I want to be able to run a vnc server to share my "real" X-session.
I use kdm.
I've been trying to build vnc with vnc.so module.
However, it fails to build this file.
Any idea on how to resolve this?
Outputs:
FreeBSD mario 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #2: Tue Jun  1
10:09:28 CEST 2010     stark@mario:/usr/obj/usr/src/sys/mario  amd64

c++ -o vnc.so -Bshareable -R /usr/local/lib  vncExtInit.o vncHooks.o
xf86vncModule.o XserverDesktop.o
=2E./../../../../../common/rfb/librfb.a                  =20
=2E./../../../../../common/Xregion/libXregion.a                  =20
=2E./../../../../../common/network/libnetwork.a                  =20
=2E./../../../../../common/rdr/librdr.a
/usr/lib/crt1.o(.text+0x88): In function `_start':
: undefined reference to `main'
vncExtInit.o(.text+0x33d): In function
`ProcVncExtGetClientCutText(_Client*)':
: undefined reference to `WriteToClient'
vncExtInit.o(.text+0x357): In function
`ProcVncExtGetClientCutText(_Client*)':
: undefined reference to `WriteToClient'
vncExtInit.o(.text+0x469): In function `vncQueryConnect(XserverDesktop*,
void*)':
: undefined reference to `WriteToClient'
vncExtInit.o(.text+0x4ab): In function `vncQueryConnect(XserverDesktop*,
void*)':
: undefined reference to `TimerSet'
vncExtInit.o(.text+0x4d8): In function `vncQueryConnect(XserverDesktop*,
void*)':
: undefined reference to `TimerCancel'
vncExtInit.o(.text+0x575): In function `ProcVncExtApproveConnect(_Client*=
)':
: undefined reference to `screenInfo'
vncExtInit.o(.text+0x5b1): In function `ProcVncExtApproveConnect(_Client*=
)':
: undefined reference to `screenInfo'
vncExtInit.o(.text+0x6a6): In function `vncClientCutText(char const*, int=
)':
: undefined reference to `GetTimeInMillis'
vncExtInit.o(.text+0x720): In function `vncClientCutText(char const*, int=
)':
: undefined reference to `WriteToClient'



--------------enigC857C805CD667C8E8B651053
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwYfSQACgkQN9xNqOOVnWBdrQCdFaPTUSNnDYdZ51iM14gv/yHj
mJYAmgMZ7OaKAfYXHa8SoW/Kguf2B4Ld
=h2l/
-----END PGP SIGNATURE-----

--------------enigC857C805CD667C8E8B651053--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C187D21.4070806>