Comments (17)
Did you compile libgrive?
from grive.
same problem in openSUSE 12.1
anielka@dev:~/src/grive/grive> gmake
[ 2%] Building CXX object libgrive/CMakeFiles/grive.dir/src/drive/ResourceTree.cc.o
[...]
[ 74%] Building CXX object libgrive/CMakeFiles/grive.dir/src/bfd/Debug.cc.o
Linking CXX static library libgrive.a
[ 74%] Built target grive
[ 76%] Building CXX object libgrive/CMakeFiles/unittest.dir/test/UnitTest.cc.o
[...]
[ 93%] Building CXX object libgrive/CMakeFiles/unittest.dir/test/util/SignalHandlerTest.cc.o
[ 95%] Building CXX object libgrive/CMakeFiles/unittest.dir/test/xml/NodeTest.cc.o
Linking CXX executable unittest
/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: /usr/lib/gcc/i586-suse-linux/4.6/../../../libbfd.a(compress.o): undefined reference to symbol 'compressBound@@ZLIB_1.2.0'
/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'compressBound@@ZLIB_1.2.0' is defined in DSO /lib/libz.so.1 so try adding it to the linker command line
/lib/libz.so.1: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
gmake[2]: *** [libgrive/unittest] Błąd 1
gmake[1]: *** [libgrive/CMakeFiles/unittest.dir/all] Błąd 2
gmake: *** [all] Błąd 2
from grive.
Libbfd requires zlib? That's strange.
Maybe you can add it yourself?
from grive.
i did it, cloned GIT to another path and...
Linking CXX executable unittest
/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: /usr/lib/gcc/i586-suse-linux/4.6/../../../libbfd.a(compress.o): undefined reference to symbol 'compressBound@@ZLIB_1.2.0'
/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'compressBound@@ZLIB_1.2.0' is defined in DSO /lib/libz.so.1 so try adding it to the linker command line
/lib/libz.so.1: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [libgrive/unittest] Błąd 1
make[1]: *** [libgrive/CMakeFiles/unittest.dir/all] Błąd 2
make: *** [all] Błąd 2
from grive.
I have no clue on what's going on. My development machine is a Fedora 16 x64 box. I don't have a SUSE box on hand right now. It's hard for me to remotely fix this compile error here.
Could you please try figuring out a patch that fixes it and send it to me?
from grive.
if i find some free time (large project) i will -> I really wish to run this soft anyway :)
from grive.
Thanks
from grive.
Really simple fix:
grieve/libgrieve/CMakeLists.txt
line 83 add in new line in the target_link_libraries section that says /lib/libz.so.1
Links perfectly and runs nicely then. If I can get my noodle around GIt and pull requests I'll try and submit it. No promises...!
Chris.
from grive.
thanks chris-daw - it works !
from grive.
Can you please try compiling in SUSE and fedora 17?
from grive.
from git? sure- give me a few secs
from grive.
yes, in the v0.2.0 branch
from grive.
on openSUSE 12.1
cmake && make
did the job - it works propper
./grive -v
grive version 0.2.0-pre Jun 21 2012 14:20:57
fedora is on my better half's laptop, so i need to wait for her to back from work :)
from grive.
Mmm... the version string should be "v0.2.0" instead of "v0.2.0-pre". Are you sure you have the latest commit in git?
from grive.
yes, i'vd cloned whole git
git status
# On branch v0.2.0
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# CMakeCache.txt
# CMakeFiles/
# Makefile
# cmake_install.cmake
# grive/CMakeFiles/
# grive/Makefile
# grive/cmake_install.cmake
# grive/grive
# libgrive/CMakeFiles/
# libgrive/Makefile
# libgrive/cmake_install.cmake
# libgrive/libgrive.a
# libgrive/unittest
nothing added to commit but untracked files present (use "git add" to track)
also
git log -n 1
gives me
commit 68507856676eef947cb87f62fac6848eb3ff66e0
Author: Nestal Wan <[email protected]>
Date: Thu Jun 21 23:39:53 2012 +0800
added zlib for SUSE (#63)
lines 1-5/5 (END)
from grive.
Great. Thanks!
from grive.
on fedora 17 it works perfectly too
from grive.
Related Issues (20)
- cd ../google_drive/ HOT 2
- Compiling and installing in Debian (LinuxMint Debian Edition) HOT 1
- Grive deleted files when storage reached its maximum HOT 1
- Error when running grive -a HOT 1
- Automatic syncing HOT 1
- User Rate Limit Exceeded HOT 1
- Delete remote, local deleted. and destination folder HOT 1
- grive -s fails complaining of inability to connect to port 443 of google authentication server HOT 1
- Stuck at "Reading remote server file list" on first use HOT 3
- HTML files are not synced very well HOT 1
- Cant set bandwidth limit while uploading files HOT 1
- Issues with building in the readme: Unmet build dependencies: debhelper zlib1g-dev HOT 3
- How do i uninstall grive HOT 6
- Fix The Readme, it is confusing! HOT 1
- Dependency errors on Debian 9 (stretch) HOT 1
- .trash doesn't work is not same file system HOT 1
- Duplicated Files in Google Drive HOT 1
- Removing grive permissions to Google Drive HOT 1
- GRIVE NO LONGER MAINTAINED PLEASE USE GRIVE2 HOT 1
- Google has disable temporarily Grive session start HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grive.