net/vnc fails to build vnc.so on 8.1 Prerelease amd64

Mark Stapper stark at mapper.nl
Wed Jun 16 07:28:43 UTC 2010


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 at 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
../../../../../../common/rfb/librfb.a                   
../../../../../../common/Xregion/libXregion.a                   
../../../../../../common/network/libnetwork.a                   
../../../../../../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'


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100616/94dc6e0a/signature.pgp


More information about the freebsd-questions mailing list