porting to FreeBSD
- From: Piotr Smyrak <piotr smyrak heron pl>
- To: gnote-list gnome org
- Subject: porting to FreeBSD
- Date: Tue, 18 Aug 2009 22:22:08 +0200
Hi,
I'm trying to compile gnote on FreeBSD and get this compile error:
[...]
Making all in underline
CXX underlinenoteaddin.o
CXX underlinemenuitem.o
LINK underline.la
CC inifile.o
CC addinstreemodel.o
CC datetime.o
sharp/datetime.cpp: In member function 'int sharp::DateTime::year() const':
sharp/datetime.cpp:72: error: invalid conversion from 'const glong*' to 'const time_t*'
sharp/datetime.cpp:72: error: initializing argument 1 of 'tm* localtime_r(const time_t*, tm*)'
sharp/datetime.cpp: In member function 'int sharp::DateTime::day_of_year() const':
sharp/datetime.cpp:79: error: invalid conversion from 'const glong*' to 'const time_t*'
sharp/datetime.cpp:79: error: initializing argument 1 of 'tm* localtime_r(const time_t*, tm*)'
sharp/datetime.cpp: In member function 'std::string sharp::DateTime::to_string(const char*) const':
sharp/datetime.cpp:98: error: invalid conversion from 'const glong*' to 'const time_t*'
sharp/datetime.cpp:98: error: initializing argument 1 of 'tm* localtime_r(const time_t*, tm*)'
sharp/datetime.cpp: In member function 'std::string sharp::DateTime::to_short_time_string() const':
sharp/datetime.cpp:105: error: invalid conversion from 'const glong*' to 'const time_t*'
sharp/datetime.cpp:105: error: initializing argument 1 of 'tm* localtime_r(const time_t*, tm*)'
gmake[3]: *** [datetime.o] Error 1
gmake[2]: *** [all-recursive] Error 1
gmake[1]: *** [all-recursive] Error 1
gmake: *** [all] Error 2
*** Error code 1
FreeBSD dsk 7.2-STABLE FreeBSD 7.2-STABLE #0: Thu Jul 30
20:23:13 CEST 2009 root dsk:/usr/obj/usr/src/sys/SMYRU i386
gcc (GCC) 4.2.1 20070719 [FreeBSD]
All requirements besides dbus-c++ are in place.
What am I missing?
--
Piotr Smyrak
piotr smyrak heron pl
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]