From: "Roman Ledovskiy" <roman@usonyx.net>
To: lartc@vger.kernel.org
Subject: [LARTC] help compiling tcng on 64bit
Date: Fri, 27 Jul 2007 05:30:53 +0000 [thread overview]
Message-ID: <013f01c7d00f$4e4cc790$eae656b0$@net> (raw)
Hi,
Trying to compile tcng on 64bit server (centos-5 64bit), I'm getting:
--------------
cc -g -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-I../shared -DVERSION=\"`cat ../VERSION`\"
-DTOPDIR=\"/usr/local/src/tcng-non-patched\" -DDOLLAR -DCONFIRM_EXCEED -c
-o f_fw.o f_fw.c
In file included from ../shared/memutil.h:13,
from util.h:14,
from f_fw.c:13:
/usr/include/sys/types.h:46: error: conflicting types for loff_t
/usr/include/linux/types.h:30: error: previous declaration of loff_t was
here
/usr/include/sys/types.h:62: error: conflicting types for dev_t
/usr/include/linux/types.h:13: error: previous declaration of dev_t was here
In file included from /usr/include/sys/types.h:133,
from ../shared/memutil.h:13,
from util.h:14,
from f_fw.c:13:
/usr/include/time.h:105: error: conflicting types for timer_t
/usr/include/linux/types.h:22: error: previous declaration of timer_t was
here
In file included from ../shared/memutil.h:13,
from util.h:14,
from f_fw.c:13:
/usr/include/sys/types.h:198: error: conflicting types for int64_t
/usr/include/linux/types.h:98: error: previous declaration of int64_t was
here
/usr/include/sys/types.h:204: error: conflicting types for u_int64_t
/usr/include/linux/types.h:97: error: previous declaration of u_int64_t was
here
In file included from /usr/include/sys/types.h:220,
from ../shared/memutil.h:13,
from util.h:14,
from f_fw.c:13:
/usr/include/sys/select.h:78: error: conflicting types for fd_setâ-?
/usr/include/linux/types.h:12: error: previous declaration of fd_setâ-? was
here
In file included from ../shared/memutil.h:13,
from util.h:14,
from f_fw.c:13:
/usr/include/sys/types.h:235: error: conflicting types for blkcnt_tâ-?
/usr/include/linux/types.h:114: error: previous declaration of blkcnt_tâ-?
was here
In file included from data.h:14,
from location.h:21,
from error.h:14,
from f_fw.c:14:
/usr/include/stdint.h:56: error: conflicting types for uint64_t
/usr/include/linux/types.h:96: error: previous declaration of uint64_t was
here
--------------
If I comment line "#include <sys/types.h>" in shared/memutil.h (like it is
done in http://devel.dob.sk/tcng+esfq/)
I get one error only:
----------
DTOPDIR=\"/usr/local/src/tcng-non-patched\" -DDOLLAR -DCONFIRM_EXCEED -c
-o f_fw.o f_fw.c
In file included from data.h:14,
from location.h:21,
from error.h:14,
from f_fw.c:14:
/usr/include/stdint.h:41: error: conflicting types for int64_t
/usr/include/linux/types.h:98: error: previous declaration of int64_t was
here
/usr/include/stdint.h:56: error: conflicting types for uint64_t
/usr/include/linux/types.h:96: error: previous declaration of uint64_t was
here
----------
Did anybody try compiling it under 64bit?
Appreciate any help with this.
Thanks
Roman
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
next reply other threads:[~2007-07-27 5:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-27 5:30 Roman Ledovskiy [this message]
2007-07-30 18:01 ` [LARTC] help compiling tcng on 64bit Andreas Mueller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='013f01c7d00f$4e4cc790$eae656b0$@net' \
--to=roman@usonyx.net \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.