KevinTsui1234 / tint2

Automatically exported from code.google.com/p/tint2
GNU General Public License v2.0
1 stars 0 forks source link

tint2conf linking error #473

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.mkdir build
2.cd build
3. cmake ..
4. make

What is the expected output? What do you see instead?

I expect the compilation to succeed. Instead I get the following:

Linking C executable tint2conf
/usr/lib/gcc/i486-slackware-linux/4.8.2/../../../../i486-slackware-linux/bin/ld:
 CMakeFiles/tint2conf.dir/__/server.c.o: undefined reference to symbol 
'XineramaQueryScreens'
/usr/lib/gcc/i486-slackware-linux/4.8.2/../../../../i486-slackware-linux/bin/ld:
 note: 'XineramaQueryScreens' is defined in DSO /usr/lib/libXinerama.so.1 so 
try adding it to the linker command line
/usr/lib/libXinerama.so.1: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [src/tint2conf/tint2conf] Error 1
make[1]: *** [src/tint2conf/CMakeFiles/tint2conf.dir/all] Error 2
make: *** [all] Error 2

What version of the product are you using? On what operating system?

r724. I get the linking error on both Slackware 14.1 32-bit, and Slackware64 
14.1 multilib.

Please provide any additional information below.

I see that the Arch Linux pkgbuild for the SVN version of tint2 disables the 
building of tint2conf, so this is apparently not a problem unique to Slackware.

Original issue reported on code.google.com by thedoogs...@gmail.com on 18 Feb 2015 at 3:38

GoogleCodeExporter commented 8 years ago
It's worth mentioning that reverse-applying the following patch (with patch -R) 
gets tint2conf to build:

https://raw.githubusercontent.com/arduino/linino/master/feeds/desktop/apps/tint2
/patches/100-remove-xinerama.patch

Original comment by thedoogs...@gmail.com on 18 Feb 2015 at 3:45

GoogleCodeExporter commented 8 years ago
I think it should work as of r725, but I cannot test it. Could you please try 
to compile again if/when you have time?

Original comment by mrovi9...@gmail.com on 19 Feb 2015 at 7:39

GoogleCodeExporter commented 8 years ago
It builds now. Thanks.

Original comment by thedoogs...@gmail.com on 20 Feb 2015 at 3:12

GoogleCodeExporter commented 8 years ago
Perfect! Thanks for the report.

Original comment by mrovi9...@gmail.com on 20 Feb 2015 at 9:45