From owner-freebsd-questions@FreeBSD.ORG Wed Jun 16 07:28:43 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4044F1065677 for ; Wed, 16 Jun 2010 07:28:43 +0000 (UTC) (envelope-from stark@mapper.nl) Received: from smtp-out1.tiscali.nl (smtp-out1.tiscali.nl [195.241.79.176]) by mx1.freebsd.org (Postfix) with ESMTP id C1A6E8FC08 for ; Wed, 16 Jun 2010 07:28:42 +0000 (UTC) Received: from [82.170.17.27] (helo=mapper.nl) by smtp-out1.tiscali.nl with esmtp (Exim) (envelope-from ) id 1OOn3B-0008Sq-Dp for freebsd-questions@freebsd.org; Wed, 16 Jun 2010 09:28:41 +0200 Received: from [10.58.235.50] by mapper.nl with esmtp (Exim 4.72 (FreeBSD)) (envelope-from ) id 1OOn31-00056m-2G for freebsd-questions@freebsd.org; Wed, 16 Jun 2010 09:28:31 +0200 Message-ID: <4C187D21.4070806@mapper.nl> Date: Wed, 16 Jun 2010 09:28:33 +0200 From: Mark Stapper User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" X-Enigmail-Version: 1.0.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigC857C805CD667C8E8B651053" Subject: net/vnc fails to build vnc.so on 8.1 Prerelease amd64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jun 2010 07:28:43 -0000 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--