Comments (8)
I've added a check for gcc section attribute support in the configure script.
It has
been checked into SVN. I've also attached a patch - if you apply it, you'll
need to
run 'autoreconf' to regenerate configure, then run configure and build.
Let me know if this fixes the problem. Thanks.
Original comment by valient
on 27 Jun 2008 at 9:24
- Changed state: Started
- Added labels: OpSys-OSX
Attachments:
from rlog.
Hey!
It worked. Thanks.
Also on the side note, configuration script does not seem to check for doxygen
(SVN).
After installing it, everything compiled.
Original comment by [email protected]
on 28 Jun 2008 at 3:38
from rlog.
This smaller diff also solves building on MacOS problems...
--- orig/rlog-1.4/rlog/common.h.in 2008-06-14 20:10:13.000000000 -0700
+++ rlog-1.4/rlog/common.h.in 2009-05-18 16:05:04.000000000 -0700
@@ -52,7 +52,12 @@
# define PRINTF(FMT,X) __attribute__ (( __format__ ( __printf__, FMT, X)))
# define HAVE_PRINTF_ATTR 1
+
+#ifdef __APPLE__
+# define RLOG_SECTION __attribute__ (( section("__DATA, RLOG_DATA") ))
+#else
# define RLOG_SECTION __attribute__ (( section("RLOG_DATA") ))
+#endif
#if __GNUC__ >= 3
# define expect(foo, bar) __builtin_expect((foo),bar)
Original comment by [email protected]
on 18 May 2009 at 11:11
from rlog.
Issue 15 has been merged into this issue.
Original comment by valient
on 23 Nov 2009 at 1:21
from rlog.
[deleted comment]
from rlog.
On Mac OS X 10.6.2 (10C540):
[macbookpro08-centrim:~] gjp22% sudo port install rlog
Password:
---> Computing dependencies for rlog
---> Fetching rlog
---> Attempting to fetch rlog-1.4.tar.gz from http://rlog.googlecode.com/files/
---> Verifying checksum(s) for rlog
---> Extracting rlog
---> Applying patches to rlog
---> Configuring rlog
---> Building rlog
---> Staging rlog into destroot
---> Installing rlog @1.4_0
---> Activating rlog @1.4_0
---> Cleaning rlog
[macbookpro08-centrim:~] gjp22% which rlog
/usr/bin/rlog
Original comment by [email protected]
on 28 Nov 2009 at 1:23
from rlog.
macports applies a small patch which modifies the RLOG_SECTION macro: So the
macports build which
grahamperrin performed is a confirmation that a problem exists.
Original comment by [email protected]
on 28 Nov 2009 at 7:04
from rlog.
This is fixed in SVN, will be in next release.
Original comment by valient
on 28 Nov 2009 at 7:30
- Changed state: Fixed
from rlog.
Related Issues (20)
- can't define 1-letter channels HOT 2
- no support for wchar_t HOT 1
- bad log channel HOT 1
- Compile Problem with rlog in inline class HOT 2
- INFO log shows name of cpp file and line number HOT 1
- RLog make: *** [all] Error 2 on Mac OS X 10.5.6, Intel HOT 1
- Build fails if not all documentation tools are present. HOT 1
- Is it project alive? HOT 2
- some issues building rlog 1.4 on OSX 10.4.8 HOT 1
- daily rolling file appender
- Incompatible libtool on Mac OS X 10.6
- Build fails on OS X from __attribute__ section usage HOT 1
- rlog -zLT displays wrong date HOT 1
- rlog: ftbfs with autoconf 2.70 HOT 1
- rlog thread safety problem HOT 9
- Fails to compile on visual studio when project path contains spaces. HOT 1
- GCC 4.3 compilation fix HOT 1
- Visual Studio Project Files HOT 8
- multiple call of the same function cannot log into different channels HOT 1
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 rlog.