Comments (5)
This change would fix this issue.
http://code.google.com/p/google-glog/source/detail?r=72
There seem to be still errors around ucontext and stacktracing in Snow Leopard.
I'll
look into them... Maybe we can re-use perftools' results.
http://code.google.com/p/google-perftools/issues/detail?id=169
Original comment by [email protected]
on 7 Oct 2009 at 8:54
from google-glog.
FYI, I just tried to build this on Snow Leper with just that change.
It all compiles and links... but then I get the error below when I "make
check",
indicating (accurately) that .libs/libglog.so doesn't exist (I also attached a
directory
listing of .libs).
Sorry, don't have time to follow this up further today but wanted at least to
make a
clear trouble report...
make logging_striplog_test_sh demangle_unittest_sh signalhandler_unittest_sh
./src/logging_striplog_test.sh
./src/logging_striplog_test.sh: line 69: 62744 Abort trap
./logging_striptest2
2> /dev/null
PASS
./demangle_unittest # force to create lt-demangle_unittest
Passed 2 tests
PASS
./src/demangle_unittest.sh
nm: can't open file: .libs/libglog.so (No such file or directory)
PASS
./signalhandler_unittest # force to create lt-signalhandler_unittest
OK
./src/signalhandler_unittest.sh
./src/signalhandler_unittest.sh: line 76: 62830 Segmentation fault
GOOGLE_LOG_DIR=. $BINARY segv 2> signa\
lhandler.out1
'main' should appear in the output
make[1]: *** [signalhandler_unittest_sh] Error 1
make: *** [check-am] Error 2
-rwxr-xr-x 1 tom tom 30288 Mar 25 17:03 demangle_unittest
-rwxr-xr-x 1 tom tom 156824 Mar 25 17:03 libglog.0.0.0.dylib
drwxr-xr-x 3 tom tom 102 Mar 25 17:03 libglog.0.0.0.dylib.dSYM
lrwxr-xr-x 1 tom tom 19 Mar 25 17:03 libglog.0.dylib -> libglog.0.0.0.dylib
-rw-r--r-- 1 tom tom 1035016 Mar 25 17:03 libglog.a
lrwxr-xr-x 1 tom tom 19 Mar 25 17:03 libglog.dylib -> libglog.0.0.0.dylib
lrwxr-xr-x 1 tom tom 13 Mar 25 17:03 libglog.la -> ../libglog.la
-rw-r--r-- 1 tom tom 837 Mar 25 17:03 libglog.lai
-rw-r--r-- 1 tom tom 53440 Mar 25 17:03 libglog_la-demangle.o
-rw-r--r-- 1 tom tom 516360 Mar 25 17:03 libglog_la-logging.o
-rw-r--r-- 1 tom tom 78692 Mar 25 17:03 libglog_la-raw_logging.o
-rw-r--r-- 1 tom tom 99712 Mar 25 17:03 libglog_la-signalhandler.o
-rw-r--r-- 1 tom tom 76144 Mar 25 17:03 libglog_la-symbolize.o
-rw-r--r-- 1 tom tom 100368 Mar 25 17:03 libglog_la-utilities.o
-rw-r--r-- 1 tom tom 98880 Mar 25 17:03 libglog_la-vlog_is_on.o
-rwxr-xr-x 1 tom tom 10904 Mar 25 17:03 logging_striptest0
-rwxr-xr-x 1 tom tom 22896 Mar 25 17:03 logging_striptest10
-rwxr-xr-x 1 tom tom 20648 Mar 25 17:03 logging_striptest2
-rwxr-xr-x 1 tom tom 156752 Mar 25 17:03 logging_unittest
-rwxr-xr-x 1 tom tom 11072 Mar 25 17:03 signalhandler_unittest
-rwxr-xr-x 1 tom tom 16976 Mar 25 17:03 stacktrace_unittest
-rwxr-xr-x 1 tom tom 74128 Mar 25 17:03 stl_logging_unittest
-rwxr-xr-x 1 tom tom 19024 Mar 25 17:03 symbolize_unittest
-rwxr-xr-x 1 tom tom 23320 Mar 25 17:03 utilities_unittest
Original comment by [email protected]
on 25 Mar 2010 at 9:11
from google-glog.
Hi guys, long time no see!
I solved this problem by casting the right side to void*, but yeah, this needs
to be fixed.
Original comment by [email protected]
on 25 Mar 2010 at 9:15
from google-glog.
Hey, Vijay! Long time, etc! How goes it?
That does make it compile (though I don't think it'll work if error codes are
ever
negative, right, because they'll end up appearing to be large and positive?)
However, I still get that same linker error.
Not a big priority, I ran into this library and just wanted to see if it worked
on my
machine here...
Original comment by [email protected]
on 25 Mar 2010 at 9:32
from google-glog.
This appears to be fixed in 0.3.1!
Original comment by [email protected]
on 4 Aug 2010 at 7:38
from google-glog.
Related Issues (20)
- Cannot Build Google-GLog on Visual Studio 2013 HOT 2
- Warning Reduction... HOT 2
- -lexecinfo is needed for backtrace() on FreeBSD
- in VS2008 release case, the process crashed when glog output int,long and so on(numerical var)
- Error compiling glog-0.3.3
- unused parameters in mock-log.h
- Link Error while making gLog (recompile with -fIPC)
- .
- make: *** [logging_unittest-logging_unittest.o] Error 1
- Cannot compile on Linux gcc 4.8.1
- vector size() incompatability
- Glog‘s all functions are worked but InstallFailureSignalHandler() Linking failed in vs2010 HOT 1
- Add LOG_EVERY_N_SECS
- V0.3.3 build error under VS 2013 (v120)
- Demangle failed
- Process sleeps forever in FailureSignalHandler it is interrupted by another signal.
- -fPIC issue
- Symbolize can't handler address of plt
- OSX Make Error issue
- Question: how to get log file name?
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 google-glog.