[Bug 254] New: implicit declaration of function 'clock_gettime'

View: New views
2 Messages — Rating Filter:   Alert me  

[Bug 254] New: implicit declaration of function 'clock_gettime'

by Bugzilla from bugzilla-daemon@xine-project.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://bugs.xine-project.org/show_bug.cgi?id=254

           Summary: implicit declaration of function 'clock_gettime'
           Product: xine-lib
           Version: 1.1.16.3
          Platform: i386/x86
        OS/Version: Mac OS X
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: Core / Backend
        AssignedTo: xine-bugs@...
        ReportedBy: xine-project-2009@...


I seem to be unable to compile xine-lib 1.1.16.2 or 1.1.16.3 on Mac OS X
10.4.11 (Xcode 2.5) or Mac OS X 10.5.7 (Xcode 3.1.2). The following error
occurs:


libtool: compile:  /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../../include -I../..
-I../../include -I../../include -I../../src -I../../src/xine-engine
-I../../src/xine-engine -I../../src/xine-utils -I../../src/input
-I../../src/input -I../../lib -I../../lib -DXINE_LIBRARY_COMPILE -I/mp/include
-DCONFIG_DARWIN -I/mp/include -fvisibility=hidden -D_REENTRANT
-D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -mtune=i386 -O3 -pipe
-fomit-frame-pointer -falign-functions=4 -falign-loops=4 -falign-jumps=4
-fexpensive-optimizations -fschedule-insns2 -ffast-math -finline-functions
-Wpointer-arith -O2 -Wall -Wchar-subscripts -Wnested-externs -Wcast-align
-Wmissing-declarations -Wmissing-prototypes -Wmissing-format-attribute
-Wno-pointer-sign -Wformat=2 -Wno-format-zero-length -Wstrict-aliasing=2
-DNDEBUG -MT demux.lo -MD -MP -MF .deps/demux.Tpo -c demux.c  -fno-common -DPIC
-o .libs/demux.o
demux.c:123: warning: no previous prototype for '_x_compute_interval'
demux.c: In function '_x_compute_interval':
demux.c:125: warning: implicit declaration of function 'clock_gettime'
demux.c:125: warning: nested extern declaration of 'clock_gettime'
demux.c:125: error: 'CLOCK_REALTIME' undeclared (first use in this function)
demux.c:125: error: (Each undeclared identifier is reported only once
demux.c:125: error: for each function it appears in.)
make[3]: *** [demux.lo] Error 1
make[2]: *** [../src/xine-engine/libxine.la] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1


I was able to compile xine-lib 1.1.16.1 successfully.


--
Configure bugmail: http://bugs.xine-project.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
xine-bugs mailing list
xine-bugs@...
https://lists.sourceforge.net/lists/listinfo/xine-bugs

[Bug 254] implicit declaration of function 'clock_gettime'

by Bugzilla from bugzilla-daemon@xine-project.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://bugs.xine-project.org/show_bug.cgi?id=254


Darren Salt <linux@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Darren Salt <linux@...>  2009-10-14 00:44:25 UTC ---
Fixed in hg (cset 575bbf0a).

--
Configure bugmail: http://bugs.xine-project.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
xine-bugs mailing list
xine-bugs@...
https://lists.sourceforge.net/lists/listinfo/xine-bugs