Hello Pierre,

yes, maybe the gcc in OpenSuSE (12.2 and 12.3) is different.
I also didn't understand the error message as the explicit cast is there!

I also have to fight with every compile of fltk and vncviewer on OpenSuSE:
Linking CXX executable vncviewer

$ cd build
$ cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ../
....
/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: 
/usr/local/lib/libfltk.a(Fl_x.cxx.o): undefined reference to symbol 
'dlsym@@GLIBC_2.2.5'
/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: 
note: 'dlsym@@GLIBC_2.2.5' is defined in DSO /lib64/libdl.so.2 so try adding it 
to the linker command line
/lib64/libdl.so.2: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status

The thing which helps is to add in trunk/CMakeLists.txt

the following line:
set(FLTK_LIBRARIES ${FLTK_LIBRARIES} dl)

The same for fltk, a hack in CMakeLists.txt like this works:
list(APPEND FLTK_LDLIBS -ldl)

But again thanks a lot for providing by far *the best* vnc-server/client
combination available. And I'm using this technology now for 12 years *every*
day.
And with my Control_R patch for the host-key this is now perfect for me
and my co-workers.

Michael

---------------------------------------

On Fri, 19 Apr 2013, Pierre Ossman wrote:

On Fri, 19 Apr 2013 01:15:56 +0200 (CEST)
Michael Traxler <m.trax...@gsi.de> wrote:

Hello to all again,

thanks to the TigerVNC-developers!
The newest version
git://github.com/svn2github/tigervnc.git
solves this really annoying bug with the AltGr-Key in the TigerVNC-server.


Glad to hear it. I was actually waiting for a new build to show up and
then ask you to test it. But I guess you sorted that out yourself. :)

It was not trivial to compile it (OpenSuSE12.3) as the make failed with an
error due to
vncExtInit.cc: In function 'int ProcVncExtApproveConnect(ClientPtr)':
vncExtInit.cc:1071:48: error: cast to pointer from integer of different size 
[-Werror=int-to-pointer-cast]
cc1plus: some warnings being treated as errors

but which can be solved by removing "-Werror=int-to-pointer-cast" from the
Makefile.


Odd. I've never gotten that error in any of my builds. And looking at
that line, I don't see what the problem is. Is Suse's gcc buggy perhaps
and throws an error even on explicit casts?

Rgds
--
Pierre Ossman           Software Development
Cendio AB               http://cendio.com
Teknikringen 8          http://twitter.com/ThinLinc
583 30 Linköping        http://facebook.com/ThinLinc
Phone: +46-13-214600    http://plus.google.com/112509906846170010689

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Tigervnc-users mailing list
Tigervnc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-users

Reply via email to