Issue 70 in casacore: Missing mtio.h header file on MacOS X 10.9.3

46 views
Skip to first unread message

casa...@googlecode.com

unread,
Aug 13, 2014, 10:03:07 AM8/13/14
to casacor...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Milestone-Release1.4

New issue 70 by datorr...@unal.edu.co: Missing mtio.h header file on MacOS
X 10.9.3
http://code.google.com/p/casacore/issues/detail?id=70

I am compiling an old code and I got:

gcc -O -DLITTLEENDIAN -DLITTLEENDIAN -c mt_fort.c
mt_fort.c:141:10: fatal error: 'sys/mtio.h' file not found
#include <sys/mtio.h>
^
1 error generated.
make[1]: *** [mt_fort.o] Error 1
make: *** [orphlib] Error 2

How can I add this file without causing too much troubles to the system?

Thanks for any help

additional information:
gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.2.0
Thread model: posix

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

casa...@googlecode.com

unread,
Aug 14, 2014, 1:49:58 AM8/14/14
to casacor...@googlegroups.com
Updates:
Status: WontFix
Owner: gervandi...@gmail.com

Comment #1 on issue 70 by gervandi...@gmail.com: Missing mtio.h header file
There already is a class TapeIO in casacore/casa/IO, so there is no need
for a new mt_fort.c. You can see in TapeIO.{h,cc} how it deals with OS-X
and other OS-s if you want to compile that file in your own package.

Ger
Reply all
Reply to author
Forward
0 new messages