Trying to build on OpenBSD

The place to discuss linux version of MakeMKV
Post Reply
Message
Author
mymlact
Posts: 4
Joined: Sun Apr 23, 2017 3:57 pm

Trying to build on OpenBSD

#1 Post by mymlact » Sun Apr 23, 2017 4:24 pm

Hi All,

I'm trying to build makemkv 1.10.5 on an OpenBSD current system and it's failing during the configure stage. I've downloaded and built the current 3.3 version of ffmpeg and then passed PKG_CONFIG_PATH to the configure script as such:

Note this is the first step, building the OSS portion, have not attempted moving on to the bin piece yes.

PKG_CONFIG_PATH=~/ffmpeg/lib/pkgconfig ./configure --prefix~/makemkv

I'm relatively sure this is due to the fact that there are no real time libraries that I can find for OpenBSD.

I modified the configure script, removing "-lrt" from the line "LIBS="$ffmpeg_LIBS -lrt"". After doing this, configure ran fine, finding the correct version of libavcodec which was previously giving me the following error.

configure:15914: checking LIBAVCODEC_VERSION_MAJOR
configure:15916: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -o conftest -g -O2 -I/home2/testuser/ffmpeg/include conftest.c -L/home2/testuser/ffmpeg/lib -L/usr/X11R6/lib -L/usr/local/lib -pthread -lavcodec -lossaudio -liconv -lxcb -lxcb-shm -lxcb-xfixes -lxcb-shape -lsndio -lfdk-aac -llzma -lbz2 -lz -lswresample -lavutil -lm -lrt >&5
/usr/bin/ld: cannot find -lrt
collect2: error: ld returned 1 exit status

After the successful configure, make fails with the errors below. I did notice that there are still references to -lrt in the make file so I did remove all reference to -lrt from the MAKEFILE, did a make clean and re-ran but it still errors out.

At this point I'm not sure how to proceed.

I have attached my config.log files, both from the failed and successful runs. (UPDATE, I tried to attach the files but got error "Sorry, the board attachment quota has been reached." I will post the failed log in a followup post.

Any help would be great.

Thanks!


$ gmake
mkdir -p out
/usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -g -O2 -D_linux_ -D_REENTRANT -shared -Wl,-z,defs -oout/libdriveio.so.0.full -I./libdriveio/inc libdriveio/src/infolist.cpp libdriveio/src/scsihlp.cpp libdriveio/src/srlist.cpp libdriveio/src/stdquery.cpp libdriveio/src/tipclient.cpp libdriveio/src/tipcommon.cpp libdriveio/src/tipserver.cpp libdriveio/src/drives/pioneer.cpp libdriveio/src/drives/xboxhddvd.cpp \
-fPIC -Xlinker -dy -Xlinker --version-script=libdriveio/src/libdriveio.vers \
-Xlinker -soname=libdriveio.so.0 -lc -lstdc++
In file included from libdriveio/src/tipclient.cpp:27:0:
libdriveio/src/tipcommon.h:25:14: error: 'SOCKET' was not declared in this scope
int snd_data(SOCKET s,const void *data,size_t data_size);
^
libdriveio/src/tipcommon.h:25:23: error: expected primary-expression before 'const'
int snd_data(SOCKET s,const void *data,size_t data_size);
^
libdriveio/src/tipcommon.h:25:47: error: expected primary-expression before 'data_size'
int snd_data(SOCKET s,const void *data,size_t data_size);
^
libdriveio/src/tipcommon.h:25:56: error: expression list treated as compound expression in initializer [-fpermissive]
int snd_data(SOCKET s,const void *data,size_t data_size);
^
libdriveio/src/tipcommon.h:26:14: error: 'SOCKET' was not declared in this scope
int snd_char(SOCKET s,unsigned char value);
^
libdriveio/src/tipcommon.h:26:23: error: expected primary-expression before 'unsigned'
int snd_char(SOCKET s,unsigned char value);
^
libdriveio/src/tipcommon.h:26:42: error: expression list treated as compound expression in initializer [-fpermissive]
int snd_char(SOCKET s,unsigned char value);
^
libdriveio/src/tipcommon.h:27:13: error: 'SOCKET' was not declared in this scope
int snd_int(SOCKET s,unsigned long value);
^
libdriveio/src/tipcommon.h:27:22: error: expected primary-expression before 'unsigned'
int snd_int(SOCKET s,unsigned long value);
^
libdriveio/src/tipcommon.h:27:41: error: expression list treated as compound expression in initializer [-fpermissive]
int snd_int(SOCKET s,unsigned long value);
^
libdriveio/src/tipcommon.h:28:15: error: 'SOCKET' was not declared in this scope
int recv_data(SOCKET s,void *data,size_t data_size);
^
libdriveio/src/tipcommon.h:28:24: error: expected primary-expression before 'void'
int recv_data(SOCKET s,void *data,size_t data_size);
^
libdriveio/src/tipcommon.h:28:42: error: expected primary-expression before 'data_size'
int recv_data(SOCKET s,void *data,size_t data_size);
^
libdriveio/src/tipcommon.h:28:51: error: expression list treated as compound expression in initializer [-fpermissive]
int recv_data(SOCKET s,void *data,size_t data_size);
^
libdriveio/src/tipcommon.h:29:14: error: 'SOCKET' was not declared in this scope
int recv_int(SOCKET s,unsigned long *value);
^
libdriveio/src/tipcommon.h:29:23: error: expected primary-expression before 'unsigned'
int recv_int(SOCKET s,unsigned long *value);
^
libdriveio/src/tipcommon.h:29:43: error: expression list treated as compound expression in initializer [-fpermissive]
int recv_int(SOCKET s,unsigned long *value);
^
libdriveio/src/tipcommon.h:30:15: error: 'SOCKET' was not declared in this scope
int recv_char(SOCKET s,unsigned char *value);
^
libdriveio/src/tipcommon.h:30:24: error: expected primary-expression before 'unsigned'
int recv_char(SOCKET s,unsigned char *value);
^
libdriveio/src/tipcommon.h:30:44: error: expression list treated as compound expression in initializer [-fpermissive]
int recv_char(SOCKET s,unsigned char *value);
^
libdriveio/src/tipclient.cpp:35:5: error: 'SOCKET' does not name a type
SOCKET m_socket;
^
libdriveio/src/tipclient.cpp: In constructor 'LibDriveIo::CTIPSClient::CTIPSClient()':
libdriveio/src/tipclient.cpp:82:5: error: 'm_socket' was not declared in this scope
m_socket=INVALID_SOCKET;
^
libdriveio/src/tipclient.cpp:82:14: error: 'INVALID_SOCKET' was not declared in this scope
m_socket=INVALID_SOCKET;
^
libdriveio/src/tipclient.cpp: In destructor 'LibDriveIo::CTIPSClient::~CTIPSClient()':
libdriveio/src/tipclient.cpp:87:9: error: 'm_socket' was not declared in this scope
if (m_socket!=INVALID_SOCKET)
^
libdriveio/src/tipclient.cpp:87:19: error: 'INVALID_SOCKET' was not declared in this scope
if (m_socket!=INVALID_SOCKET)
^
libdriveio/src/tipclient.cpp:89:27: error: 'SD_BOTH' was not declared in this scope
shutdown(m_socket,SD_BOTH);
^
libdriveio/src/tipclient.cpp:89:34: error: 'shutdown' was not declared in this scope
shutdown(m_socket,SD_BOTH);
^
libdriveio/src/tipclient.cpp:90:29: error: 'closesocket' was not declared in this scope
closesocket(m_socket);
^
libdriveio/src/tipclient.cpp: In member function 'int LibDriveIo::CTIPSClient::Connect(const char*)':
libdriveio/src/tipclient.cpp:98:9: error: 'm_socket' was not declared in this scope
if (m_socket!=INVALID_SOCKET)
^
libdriveio/src/tipclient.cpp:98:19: error: 'INVALID_SOCKET' was not declared in this scope
if (m_socket!=INVALID_SOCKET)
^
libdriveio/src/tipclient.cpp:103:23: error: 'tcpip_startup' was not declared in this scope
err=tcpip_startup();
^
libdriveio/src/tipclient.cpp:109:5: error: 'SOCKET' was not declared in this scope
SOCKET s;
^
libdriveio/src/tipclient.cpp:111:5: error: 's' was not declared in this scope
s = socket(PF_INET,SOCK_STREAM,IPPROTO_TCP);
^
libdriveio/src/tipclient.cpp:111:16: error: 'PF_INET' was not declared in this scope
s = socket(PF_INET,SOCK_STREAM,IPPROTO_TCP);
^
libdriveio/src/tipclient.cpp:111:24: error: 'SOCK_STREAM' was not declared in this scope
s = socket(PF_INET,SOCK_STREAM,IPPROTO_TCP);
^
libdriveio/src/tipclient.cpp:111:36: error: 'IPPROTO_TCP' was not declared in this scope
s = socket(PF_INET,SOCK_STREAM,IPPROTO_TCP);
^
libdriveio/src/tipclient.cpp:111:47: error: 'socket' was not declared in this scope
s = socket(PF_INET,SOCK_STREAM,IPPROTO_TCP);
^
libdriveio/src/tipclient.cpp:112:12: error: 'INVALID_SOCKET' was not declared in this scope
if (s==INVALID_SOCKET)
^
libdriveio/src/tipclient.cpp:114:28: error: 'tcpip_errno' was not declared in this scope
return tcpip_errno();
^
libdriveio/src/tipclient.cpp:117:24: error: aggregate 'LibDriveIo::sockaddr_in addr' has incomplete type and cannot be defined
struct sockaddr_in addr;
^
libdriveio/src/tipclient.cpp:124:55: error: 'connect' was not declared in this scope
err=connect(s,(struct sockaddr*)&addr,sizeof(addr));
^
libdriveio/src/tipclient.cpp:127:25: error: 'tcpip_errno' was not declared in this scope
err=tcpip_errno();
^
libdriveio/src/tipclient.cpp:128:22: error: 'closesocket' was not declared in this scope
closesocket(s);
^
libdriveio/src/tipclient.cpp:132:5: error: 'm_socket' was not declared in this scope
m_socket = s;
^
libdriveio/src/tipclient.cpp: In member function 'virtual int LibDriveIo::CTIPSClient::Exec(const ScsiCmd*, ScsiCmdResponse*)':
libdriveio/src/tipclient.cpp:141:9: error: 'm_socket' was not declared in this scope
if (m_socket==INVALID_SOCKET)
^
libdriveio/src/tipclient.cpp:141:19: error: 'INVALID_SOCKET' was not declared in this scope
if (m_socket==INVALID_SOCKET)
^
libdriveio/src/tipclient.cpp:151:18: error: 'm_socket' was not declared in this scope
err=snd_char(m_socket,Cmd->CdbLen);
^
libdriveio/src/tipclient.cpp:151:38: error: 'LibDriveIo::snd_char' cannot be used as a function
err=snd_char(m_socket,Cmd->CdbLen);
^
libdriveio/src/tipclient.cpp:154:47: error: 'LibDriveIo::snd_data' cannot be used as a function
err=snd_data(m_socket,Cmd->Cdb,Cmd->CdbLen);
^
libdriveio/src/tipclient.cpp:157:39: error: 'LibDriveIo::snd_int' cannot be used as a function
err=snd_int(m_socket,Cmd->InputLen);
^
libdriveio/src/tipclient.cpp:160:57: error: 'LibDriveIo::snd_data' cannot be used as a function
err=snd_data(m_socket,Cmd->InputBuffer,Cmd->InputLen);
^
libdriveio/src/tipclient.cpp:163:40: error: 'LibDriveIo::snd_int' cannot be used as a function
err=snd_int(m_socket,Cmd->OutputLen);
^
libdriveio/src/tipclient.cpp:169:30: error: 'LibDriveIo::recv_int' cannot be used as a function
err=recv_int(m_socket,&tv);
^
libdriveio/src/tipclient.cpp:180:72: error: 'LibDriveIo::recv_data' cannot be used as a function
err=recv_data(m_socket,Cmd->OutputBuffer,CmdResult->Transferred);
^
libdriveio/src/tipclient.cpp:184:46: error: 'LibDriveIo::recv_char' cannot be used as a function
err=recv_char(m_socket,&CmdResult->Status);
^
libdriveio/src/tipclient.cpp:187:31: error: 'LibDriveIo::recv_char' cannot be used as a function
err=recv_char(m_socket,&tc);
^
libdriveio/src/tipclient.cpp:196:68: error: 'LibDriveIo::recv_data' cannot be used as a function
err=recv_data(m_socket,CmdResult->SenseData,CmdResult->SenseLen);
^
In file included from libdriveio/src/tipcommon.cpp:28:0:
libdriveio/src/tipcommon.h:25:14: error: 'SOCKET' was not declared in this scope
int snd_data(SOCKET s,const void *data,size_t data_size);
^
libdriveio/src/tipcommon.h:25:23: error: expected primary-expression before 'const'
int snd_data(SOCKET s,const void *data,size_t data_size);
^
libdriveio/src/tipcommon.h:25:47: error: expected primary-expression before 'data_size'
int snd_data(SOCKET s,const void *data,size_t data_size);
^
libdriveio/src/tipcommon.h:25:56: error: expression list treated as compound expression in initializer [-fpermissive]
int snd_data(SOCKET s,const void *data,size_t data_size);
^
libdriveio/src/tipcommon.h:26:14: error: 'SOCKET' was not declared in this scope
int snd_char(SOCKET s,unsigned char value);
^
libdriveio/src/tipcommon.h:26:23: error: expected primary-expression before 'unsigned'
int snd_char(SOCKET s,unsigned char value);
^
libdriveio/src/tipcommon.h:26:42: error: expression list treated as compound expression in initializer [-fpermissive]
int snd_char(SOCKET s,unsigned char value);
^
libdriveio/src/tipcommon.h:27:13: error: 'SOCKET' was not declared in this scope
int snd_int(SOCKET s,unsigned long value);
^
libdriveio/src/tipcommon.h:27:22: error: expected primary-expression before 'unsigned'
int snd_int(SOCKET s,unsigned long value);
^
libdriveio/src/tipcommon.h:27:41: error: expression list treated as compound expression in initializer [-fpermissive]
int snd_int(SOCKET s,unsigned long value);
^
libdriveio/src/tipcommon.h:28:15: error: 'SOCKET' was not declared in this scope
int recv_data(SOCKET s,void *data,size_t data_size);
^
libdriveio/src/tipcommon.h:28:24: error: expected primary-expression before 'void'
int recv_data(SOCKET s,void *data,size_t data_size);
^
libdriveio/src/tipcommon.h:28:42: error: expected primary-expression before 'data_size'
int recv_data(SOCKET s,void *data,size_t data_size);
^
libdriveio/src/tipcommon.h:28:51: error: expression list treated as compound expression in initializer [-fpermissive]
int recv_data(SOCKET s,void *data,size_t data_size);
^
libdriveio/src/tipcommon.h:29:14: error: 'SOCKET' was not declared in this scope
int recv_int(SOCKET s,unsigned long *value);
^
libdriveio/src/tipcommon.h:29:23: error: expected primary-expression before 'unsigned'
int recv_int(SOCKET s,unsigned long *value);
^
libdriveio/src/tipcommon.h:29:43: error: expression list treated as compound expression in initializer [-fpermissive]
int recv_int(SOCKET s,unsigned long *value);
^
libdriveio/src/tipcommon.h:30:15: error: 'SOCKET' was not declared in this scope
int recv_char(SOCKET s,unsigned char *value);
^
libdriveio/src/tipcommon.h:30:24: error: expected primary-expression before 'unsigned'
int recv_char(SOCKET s,unsigned char *value);
^
libdriveio/src/tipcommon.h:30:44: error: expression list treated as compound expression in initializer [-fpermissive]
int recv_char(SOCKET s,unsigned char *value);
^
libdriveio/src/tipcommon.cpp: In function 'int LibDriveIo::AddrFromString(LibDriveIo::sockaddr_in*, const char*)':
libdriveio/src/tipcommon.cpp:68:21: error: aggregate 'LibDriveIo::AddrFromString(LibDriveIo::sockaddr_in*, const char*)::addrinfo hint' has incomplete type and cannot be defined
struct addrinfo hint,*adr_info;
^
libdriveio/src/tipcommon.cpp:71:20: error: 'PF_INET' was not declared in this scope
hint.ai_family=PF_INET;
^
libdriveio/src/tipcommon.cpp:72:22: error: 'SOCK_STREAM' was not declared in this scope
hint.ai_socktype=SOCK_STREAM;
^
libdriveio/src/tipcommon.cpp:73:22: error: 'IPPROTO_TCP' was not declared in this scope
hint.ai_protocol=IPPROTO_TCP;
^
libdriveio/src/tipcommon.cpp:75:54: error: 'getaddrinfo' was not declared in this scope
err=getaddrinfo(addr_ip,addr_port,&hint,&adr_info);
^
libdriveio/src/tipcommon.cpp:80:19: error: invalid use of incomplete type 'struct LibDriveIo::AddrFromString(LibDriveIo::sockaddr_in*, const char*)::addrinfo'
if ( (adr_info->ai_family!=PF_INET) ||
^
libdriveio/src/tipcommon.cpp:68:12: error: forward declaration of 'struct LibDriveIo::AddrFromString(LibDriveIo::sockaddr_in*, const char*)::addrinfo'
struct addrinfo hint,*adr_info;
^
libdriveio/src/tipcommon.cpp:81:18: error: invalid use of incomplete type 'struct LibDriveIo::AddrFromString(LibDriveIo::sockaddr_in*, const char*)::addrinfo'
(adr_info->ai_socktype!=SOCK_STREAM) ||
^
libdriveio/src/tipcommon.cpp:68:12: error: forward declaration of 'struct LibDriveIo::AddrFromString(LibDriveIo::sockaddr_in*, const char*)::addrinfo'
struct addrinfo hint,*adr_info;
^
libdriveio/src/tipcommon.cpp:82:18: error: invalid use of incomplete type 'struct LibDriveIo::AddrFromString(LibDriveIo::sockaddr_in*, const char*)::addrinfo'
(adr_info->ai_protocol!=IPPROTO_TCP) )
^
libdriveio/src/tipcommon.cpp:68:12: error: forward declaration of 'struct LibDriveIo::AddrFromString(LibDriveIo::sockaddr_in*, const char*)::addrinfo'
struct addrinfo hint,*adr_info;
^
libdriveio/src/tipcommon.cpp:87:25: error: invalid use of incomplete type 'struct LibDriveIo::AddrFromString(LibDriveIo::sockaddr_in*, const char*)::addrinfo'
memcpy(Addr,adr_info->ai_addr,sizeof(struct sockaddr_in));
^
libdriveio/src/tipcommon.cpp:68:12: error: forward declaration of 'struct LibDriveIo::AddrFromString(LibDriveIo::sockaddr_in*, const char*)::addrinfo'
struct addrinfo hint,*adr_info;
^
libdriveio/src/tipcommon.cpp:87:60: error: invalid application of 'sizeof' to incomplete type 'LibDriveIo::sockaddr_in'
memcpy(Addr,adr_info->ai_addr,sizeof(struct sockaddr_in));
^
libdriveio/src/tipcommon.cpp:91:21: error: invalid use of incomplete type 'struct LibDriveIo::sockaddr_in'
memset(&Addr->sin_addr,0,sizeof(Addr->sin_addr));
^
In file included from libdriveio/src/tipcommon.cpp:28:0:
libdriveio/src/tipcommon.h:24:27: error: forward declaration of 'struct LibDriveIo::sockaddr_in'
int AddrFromString(struct sockaddr_in* Addr,const char* Str);
^
libdriveio/src/tipcommon.cpp:91:45: error: invalid use of incomplete type 'struct LibDriveIo::sockaddr_in'
memset(&Addr->sin_addr,0,sizeof(Addr->sin_addr));
^
In file included from libdriveio/src/tipcommon.cpp:28:0:
libdriveio/src/tipcommon.h:24:27: error: forward declaration of 'struct LibDriveIo::sockaddr_in'
int AddrFromString(struct sockaddr_in* Addr,const char* Str);
^
libdriveio/src/tipcommon.cpp: At global scope:
libdriveio/src/tipcommon.cpp:97:14: error: redefinition of 'int LibDriveIo::snd_data'
int snd_data(SOCKET s,const void *data,size_t data_size)
^
In file included from libdriveio/src/tipcommon.cpp:28:0:
libdriveio/src/tipcommon.h:25:5: note: 'int LibDriveIo::snd_data' previously defined here
int snd_data(SOCKET s,const void *data,size_t data_size);
^
libdriveio/src/tipcommon.cpp:97:14: error: 'SOCKET' was not declared in this scope
int snd_data(SOCKET s,const void *data,size_t data_size)
^
libdriveio/src/tipcommon.cpp:97:23: error: expected primary-expression before 'const'
int snd_data(SOCKET s,const void *data,size_t data_size)
^
libdriveio/src/tipcommon.cpp:97:47: error: expected primary-expression before 'data_size'
int snd_data(SOCKET s,const void *data,size_t data_size)
^
libdriveio/src/tipcommon.cpp:239:2: error: expected '}' at end of input
}; // namespace LibDriveIo
^
In file included from libdriveio/src/tipserver.cpp:26:0:
libdriveio/src/tipcommon.h:25:14: error: 'SOCKET' was not declared in this scope
int snd_data(SOCKET s,const void *data,size_t data_size);
^
libdriveio/src/tipcommon.h:25:23: error: expected primary-expression before 'const'
int snd_data(SOCKET s,const void *data,size_t data_size);
^
libdriveio/src/tipcommon.h:25:47: error: expected primary-expression before 'data_size'
int snd_data(SOCKET s,const void *data,size_t data_size);
^
libdriveio/src/tipcommon.h:25:56: error: expression list treated as compound expression in initializer [-fpermissive]
int snd_data(SOCKET s,const void *data,size_t data_size);
^
libdriveio/src/tipcommon.h:26:14: error: 'SOCKET' was not declared in this scope
int snd_char(SOCKET s,unsigned char value);
^
libdriveio/src/tipcommon.h:26:23: error: expected primary-expression before 'unsigned'
int snd_char(SOCKET s,unsigned char value);
^
libdriveio/src/tipcommon.h:26:42: error: expression list treated as compound expression in initializer [-fpermissive]
int snd_char(SOCKET s,unsigned char value);
^
libdriveio/src/tipcommon.h:27:13: error: 'SOCKET' was not declared in this scope
int snd_int(SOCKET s,unsigned long value);
^
libdriveio/src/tipcommon.h:27:22: error: expected primary-expression before 'unsigned'
int snd_int(SOCKET s,unsigned long value);
^
libdriveio/src/tipcommon.h:27:41: error: expression list treated as compound expression in initializer [-fpermissive]
int snd_int(SOCKET s,unsigned long value);
^
libdriveio/src/tipcommon.h:28:15: error: 'SOCKET' was not declared in this scope
int recv_data(SOCKET s,void *data,size_t data_size);
^
libdriveio/src/tipcommon.h:28:24: error: expected primary-expression before 'void'
int recv_data(SOCKET s,void *data,size_t data_size);
^
libdriveio/src/tipcommon.h:28:42: error: expected primary-expression before 'data_size'
int recv_data(SOCKET s,void *data,size_t data_size);
^
libdriveio/src/tipcommon.h:28:51: error: expression list treated as compound expression in initializer [-fpermissive]
int recv_data(SOCKET s,void *data,size_t data_size);
^
libdriveio/src/tipcommon.h:29:14: error: 'SOCKET' was not declared in this scope
int recv_int(SOCKET s,unsigned long *value);
^
libdriveio/src/tipcommon.h:29:23: error: expected primary-expression before 'unsigned'
int recv_int(SOCKET s,unsigned long *value);
^
libdriveio/src/tipcommon.h:29:43: error: expression list treated as compound expression in initializer [-fpermissive]
int recv_int(SOCKET s,unsigned long *value);
^
libdriveio/src/tipcommon.h:30:15: error: 'SOCKET' was not declared in this scope
int recv_char(SOCKET s,unsigned char *value);
^
libdriveio/src/tipcommon.h:30:24: error: expected primary-expression before 'unsigned'
int recv_char(SOCKET s,unsigned char *value);
^
libdriveio/src/tipcommon.h:30:44: error: expression list treated as compound expression in initializer [-fpermissive]
int recv_char(SOCKET s,unsigned char *value);
^
libdriveio/src/tipserver.cpp:38:48: error: 'SOCKET' has not been declared
static int ProcessCommand(unsigned char CdbLen,SOCKET s,FILE* fLog,DriveIoExecScsiCmdFunc ScsiProc,void* ScsiContext)
^
libdriveio/src/tipserver.cpp: In function 'int ProcessCommand(unsigned char, int, FILE*, DriveIoExecScsiCmdFunc, void*)':
libdriveio/src/tipserver.cpp:55:39: error: 'LibDriveIo::recv_data' cannot be used as a function
err=recv_data(s,Cmd.Cdb,Cmd.CdbLen);
^
libdriveio/src/tipserver.cpp:58:23: error: 'LibDriveIo::recv_int' cannot be used as a function
err=recv_int(s,&ti);
^
libdriveio/src/tipserver.cpp:71:38: error: 'LibDriveIo::recv_data' cannot be used as a function
err=recv_data(s,p_in,Cmd.InputLen);
^
libdriveio/src/tipserver.cpp:78:23: error: 'LibDriveIo::recv_int' cannot be used as a function
err=recv_int(s,&ti);
^
libdriveio/src/tipserver.cpp:134:40: error: 'LibDriveIo::snd_int' cannot be used as a function
err=snd_int(s,CmdResult.Transferred);
^
libdriveio/src/tipserver.cpp:143:62: error: 'LibDriveIo::snd_data' cannot be used as a function
err=snd_data(s,Cmd.OutputBuffer,CmdResult.Transferred);
^
libdriveio/src/tipserver.cpp:154:36: error: 'LibDriveIo::snd_char' cannot be used as a function
err=snd_char(s,CmdResult.Status);
^
libdriveio/src/tipserver.cpp:157:53: error: 'LibDriveIo::snd_char' cannot be used as a function
err=snd_char(s,(unsigned char)CmdResult.SenseLen);
^
libdriveio/src/tipserver.cpp:160:58: error: 'LibDriveIo::snd_data' cannot be used as a function
err=snd_data(s,CmdResult.SenseData,CmdResult.SenseLen);
^
libdriveio/src/tipserver.cpp: In function 'int TIPS_ServerRun(FILE*, const char*, DriveIoExecScsiCmdFunc, void*)':
libdriveio/src/tipserver.cpp:169:5: error: 'SOCKET' was not declared in this scope
SOCKET s_listen,s_comm;
^
libdriveio/src/tipserver.cpp:170:24: error: aggregate 'LibDriveIo::sockaddr_in addr' has incomplete type and cannot be defined
struct sockaddr_in addr;
^
libdriveio/src/tipserver.cpp:174:23: error: 'tcpip_startup' was not declared in this scope
err=tcpip_startup();
^
libdriveio/src/tipserver.cpp:180:5: error: 's_listen' was not declared in this scope
s_listen = socket(PF_INET,SOCK_STREAM,IPPROTO_TCP);
^
libdriveio/src/tipserver.cpp:180:23: error: 'PF_INET' was not declared in this scope
s_listen = socket(PF_INET,SOCK_STREAM,IPPROTO_TCP);
^
libdriveio/src/tipserver.cpp:180:31: error: 'SOCK_STREAM' was not declared in this scope
s_listen = socket(PF_INET,SOCK_STREAM,IPPROTO_TCP);
^
libdriveio/src/tipserver.cpp:180:43: error: 'IPPROTO_TCP' was not declared in this scope
s_listen = socket(PF_INET,SOCK_STREAM,IPPROTO_TCP);
^
libdriveio/src/tipserver.cpp:180:54: error: 'socket' was not declared in this scope
s_listen = socket(PF_INET,SOCK_STREAM,IPPROTO_TCP);
^
libdriveio/src/tipserver.cpp:181:19: error: 'INVALID_SOCKET' was not declared in this scope
if (s_listen==INVALID_SOCKET)
^
libdriveio/src/tipserver.cpp:183:28: error: 'tcpip_errno' was not declared in this scope
return tcpip_errno();
^
libdriveio/src/tipserver.cpp:192:59: error: 'bind' was not declared in this scope
if (bind(s_listen,(struct sockaddr*)&addr,sizeof(addr))!=0)
^
libdriveio/src/tipserver.cpp:194:25: error: 'tcpip_errno' was not declared in this scope
err=tcpip_errno();
^
libdriveio/src/tipserver.cpp:195:29: error: 'closesocket' was not declared in this scope
closesocket(s_listen);
^
libdriveio/src/tipserver.cpp:199:27: error: 'listen' was not declared in this scope
if (listen(s_listen,10)!=0)
^
libdriveio/src/tipserver.cpp:201:25: error: 'tcpip_errno' was not declared in this scope
err=tcpip_errno();
^
libdriveio/src/tipserver.cpp:202:29: error: 'closesocket' was not declared in this scope
closesocket(s_listen);
^
libdriveio/src/tipserver.cpp:206:5: error: 's_comm' was not declared in this scope
s_comm = INVALID_SOCKET;
^
libdriveio/src/tipserver.cpp:206:14: error: 'INVALID_SOCKET' was not declared in this scope
s_comm = INVALID_SOCKET;
^
libdriveio/src/tipserver.cpp:210:100: error: 'inet_ntoa' was not declared in this scope
fprintf(fLog,"Trivial IP SCSI server started, listening on %s:%u\n",inet_ntoa(addr.sin_addr),ntohs(addr.sin_port));
^
libdriveio/src/tipserver.cpp:215:9: error: 'fd_set' was not declared in this scope
fd_set fs;
^
libdriveio/src/tipserver.cpp:217:9: error: 'timeval' was not declared in this scope
timeval tval;
^
libdriveio/src/tipserver.cpp:219:18: error: 'fs' was not declared in this scope
FD_ZERO(&fs);
^
libdriveio/src/tipserver.cpp:219:20: error: 'FD_ZERO' was not declared in this scope
FD_ZERO(&fs);
^
libdriveio/src/tipserver.cpp:220:28: error: 'FD_SET' was not declared in this scope
FD_SET(s_listen,&fs);
^
libdriveio/src/tipserver.cpp:230:9: error: 'tval' was not declared in this scope
tval.tv_sec = 2;
^
libdriveio/src/tipserver.cpp:233:46: error: 'select' was not declared in this scope
err=select(nfds+1,&fs,NULL,NULL,&tval);
^
libdriveio/src/tipserver.cpp:236:29: error: 'tcpip_errno' was not declared in this scope
err=tcpip_errno();
^
libdriveio/src/tipserver.cpp:237:33: error: 'closesocket' was not declared in this scope
closesocket(s_listen);
^
libdriveio/src/tipserver.cpp:244:34: error: 'FD_ISSET' was not declared in this scope
if (FD_ISSET(s_listen,&fs))
^
libdriveio/src/tipserver.cpp:246:20: error: expected ';' before 's'
SOCKET s;
^
libdriveio/src/tipserver.cpp:247:32: error: aggregate 'LibDriveIo::sockaddr_in sa' has incomplete type and cannot be defined
struct sockaddr_in sa;
^
libdriveio/src/tipserver.cpp:248:13: error: 'socklen_t' was not declared in this scope
socklen_t salen;
^
libdriveio/src/tipserver.cpp:249:13: error: 'salen' was not declared in this scope
salen=sizeof(sa);
^
libdriveio/src/tipserver.cpp:250:13: error: 's' was not declared in this scope
s = accept(s_listen,(struct sockaddr*)&sa,&salen);
^
libdriveio/src/tipserver.cpp:250:61: error: 'accept' was not declared in this scope
s = accept(s_listen,(struct sockaddr*)&sa,&salen);
^
libdriveio/src/tipserver.cpp:257:75: error: 'inet_ntoa' was not declared in this scope
fprintf(fLog,"Connect from %s:%u - ",inet_ntoa(sa.sin_addr),ntohs(sa.sin_port));
^
libdriveio/src/tipserver.cpp:261:30: error: 'closesocket' was not declared in this scope
closesocket(s);
^
libdriveio/src/tipserver.cpp:279:36: error: 'FD_ISSET' was not declared in this scope
if (FD_ISSET(s_comm,&fs))
^
libdriveio/src/tipserver.cpp:282:52: error: 'recv' was not declared in this scope
err=recv(s_comm,(char*)&cdb_len,1,0);
^
libdriveio/src/tipserver.cpp:290:39: error: 'closesocket' was not declared in this scope
closesocket(s_comm);
^
libdriveio/src/tipserver.cpp:301:39: error: 'closesocket' was not declared in this scope
closesocket(s_comm);
^
libdriveio/src/tipserver.cpp:314:39: error: 'closesocket' was not declared in this scope
closesocket(s_comm);
^
libdriveio/src/tipserver.cpp:322:51: error: 'closesocket' was not declared in this scope
if (INVALID_SOCKET!=s_comm) closesocket(s_comm);
^
libdriveio/src/tipserver.cpp:323:25: error: 'closesocket' was not declared in this scope
closesocket(s_listen);
^
gmake: *** [Makefile:69: out/libdriveio.so.0.full] Error 1



I

mymlact
Posts: 4
Joined: Sun Apr 23, 2017 3:57 pm

Re: Trying to build on OpenBSD

#2 Post by mymlact » Sun Apr 23, 2017 4:37 pm

# cat config_failed.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by ffabi configure 0, which was
generated by GNU Autoconf 2.69. Invocation command line was

$ ./configure --prefix=/home2/testuser/makemkv

## --------- ##
## Platform. ##
## --------- ##

hostname = snappy.cox.net
uname -m = amd64
uname -r = 6.1
uname -s = OpenBSD
uname -v = GENERIC.MP#13

/usr/bin/uname -p = amd64
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = OpenBSD.amd64
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /home2/testuser/bin
PATH: /bin
PATH: /sbin
PATH: /usr/bin
PATH: /usr/sbin
PATH: /usr/X11R6/bin
PATH: /usr/local/bin
PATH: /usr/local/sbin
PATH: /usr/games
PATH: .


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2716: checking build system type
configure:2730: result: x86_64-unknown-openbsd6.1
configure:2750: checking host system type
configure:2763: result: x86_64-unknown-openbsd6.1
configure:2783: checking target system type
configure:2796: result: x86_64-unknown-openbsd6.1
configure:2872: checking how to print strings
configure:2901: result: print -r
configure:2968: checking for gcc
configure:2995: result: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4
configure:3224: checking for C compiler version
configure:3233: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 --version >&5
x86_64-unknown-openbsd6.1-gcc-4.9.4 (GCC) 4.9.4
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3244: $? = 0
configure:3233: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -v >&5
Using built-in specs.
COLLECT_GCC=/usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-unknown-openbsd6.1/4.9.4/lto-wrapper
Target: x86_64-unknown-openbsd6.1
Configured with: /usr/obj/ports/gcc-4.9.4/gcc-4.9.4/configure --enable-libgcj --without-jar --verbose --program-transform-name='s,^,e,' --disable-nls --with-system-zlib --disable-libmudflap --disable-libgomp --disable-tls --with-gnu-ld --with-gnu-as --enable-threads=posix --enable-wchar_t --with-gmp=/usr/local --enable-languages=c,c++,fortran,objc,java,ada --disable-libstdcxx-pch --enable-cpp --prefix=/usr/local --sysconfdir=/etc --mandir=/usr/local/man --infodir=/usr/local/info --localstatedir=/var --disable-silent-rules --disable-gtk-doc
Thread model: posix
gcc version 4.9.4 (GCC)
configure:3244: $? = 0
configure:3233: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -V >&5
x86_64-unknown-openbsd6.1-gcc-4.9.4: error: unrecognized command line option '-V'
x86_64-unknown-openbsd6.1-gcc-4.9.4: fatal error: no input files
compilation terminated.
configure:3244: $? = 1
configure:3233: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -qversion >&5
x86_64-unknown-openbsd6.1-gcc-4.9.4: error: unrecognized command line option '-qversion'
x86_64-unknown-openbsd6.1-gcc-4.9.4: fatal error: no input files
compilation terminated.
configure:3244: $? = 1
configure:3264: checking whether the C compiler works
configure:3286: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 conftest.c >&5
configure:3290: $? = 0
configure:3338: result: yes
configure:3341: checking for C compiler default output file name
configure:3343: result: a.out
configure:3349: checking for suffix of executables
configure:3356: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -o conftest conftest.c >&5
configure:3360: $? = 0
configure:3382: result:
configure:3404: checking whether we are cross compiling
configure:3412: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -o conftest conftest.c >&5
configure:3416: $? = 0
configure:3423: ./conftest
configure:3427: $? = 0
configure:3442: result: no
configure:3447: checking for suffix of object files
configure:3469: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -c conftest.c >&5
configure:3473: $? = 0
configure:3494: result: o
configure:3498: checking whether we are using the GNU C compiler
configure:3517: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -c conftest.c >&5
configure:3517: $? = 0
configure:3526: result: yes
configure:3535: checking whether /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 accepts -g
configure:3555: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -c -g conftest.c >&5
configure:3555: $? = 0
configure:3596: result: yes
configure:3613: checking for /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 option to accept ISO C89
configure:3676: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -c -g -O2 conftest.c >&5
configure:3676: $? = 0
configure:3689: result: none needed
configure:3709: checking for a sed that does not truncate output
configure:3773: result: /usr/bin/sed
configure:3791: checking for grep that handles long lines and -e
configure:3849: result: /usr/bin/grep
configure:3854: checking for egrep
configure:3916: result: /usr/bin/grep -E
configure:3921: checking for fgrep
configure:3983: result: /usr/bin/grep -F
configure:4018: checking for ld used by /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4
configure:4085: result: /usr/bin/ld
configure:4092: checking if the linker (/usr/bin/ld) is GNU ld
configure:4107: result: yes
configure:4119: checking for BSD- or MS-compatible name lister (nm)
configure:4168: result: /usr/bin/nm -B
configure:4298: checking the name lister (/usr/bin/nm -B) interface
configure:4305: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -c -g -O2 conftest.c >&5
configure:4308: /usr/bin/nm -B "conftest.o"
configure:4311: output
00000000 F conftest.c
00000000 B some_variable
configure:4318: result: BSD nm
configure:4321: checking whether ln -s works
configure:4325: result: yes
configure:4333: checking the maximum length of command line arguments
configure:4464: result: 196608
configure:4481: checking whether the shell understands some XSI constructs
configure:4491: result: yes
configure:4495: checking whether the shell understands "+="
configure:4501: result: no
configure:4536: checking how to convert x86_64-unknown-openbsd6.1 file names to x86_64-unknown-openbsd6.1 format
configure:4576: result: func_convert_file_noop
configure:4583: checking how to convert x86_64-unknown-openbsd6.1 file names to toolchain format
configure:4603: result: func_convert_file_noop
configure:4610: checking for /usr/bin/ld option to reload object files
configure:4617: result: -r
configure:4691: checking for objdump
configure:4707: found /usr/bin/objdump
configure:4718: result: objdump
configure:4750: checking how to recognize dependent libraries
configure:4948: result: match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$
configure:5033: checking for dlltool
configure:5063: result: no
configure:5093: checking how to associate runtime and link libraries
configure:5120: result: print -r --
configure:5181: checking for ar
configure:5197: found /usr/bin/ar
configure:5208: result: ar
configure:5245: checking for archiver @FILE support
configure:5262: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -c -g -O2 conftest.c >&5
configure:5262: $? = 0
configure:5265: ar cru libconftest.a @conftest.lst >&5
configure:5268: $? = 0
configure:5273: ar cru libconftest.a @conftest.lst >&5
ar: conftest.o: No such file or directory
configure:5276: $? = 1
configure:5288: result: @
configure:5346: checking for strip
configure:5362: found /usr/bin/strip
configure:5373: result: strip
configure:5445: checking for ranlib
configure:5461: found /usr/bin/ranlib
configure:5472: result: ranlib
configure:5549: checking for gawk
configure:5579: result: no
configure:5549: checking for mawk
configure:5579: result: no
configure:5549: checking for nawk
configure:5579: result: no
configure:5549: checking for awk
configure:5565: found /usr/bin/awk
configure:5576: result: awk
configure:5616: checking command to parse /usr/bin/nm -B output from /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 object
configure:5736: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -c -g -O2 conftest.c >&5
configure:5739: $? = 0
configure:5743: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:5746: $? = 0
configure:5812: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -o conftest -g -O2 conftest.c conftstm.o >&5
configure:5815: $? = 0
configure:5853: result: ok
configure:5890: checking for sysroot
configure:5920: result: no
configure:6189: checking for mt
configure:6205: found /bin/mt
configure:6216: result: mt
configure:6239: checking if mt is a manifest tool
configure:6245: mt '-?'
mt: unknown option -- ?
usage: mt [-f device] command [count]
configure:6253: result: no
configure:6895: checking how to run the C preprocessor
configure:6926: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -E conftest.c
configure:6926: $? = 0
configure:6940: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -E conftest.c
conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^
compilation terminated.
configure:6940: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ffabi"
| #define PACKAGE_TARNAME "ffabi"
| #define PACKAGE_VERSION "0"
| #define PACKAGE_STRING "ffabi 0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:6965: result: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -E
configure:6985: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -E conftest.c
configure:6985: $? = 0
configure:6999: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -E conftest.c
conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^
compilation terminated.
configure:6999: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ffabi"
| #define PACKAGE_TARNAME "ffabi"
| #define PACKAGE_VERSION "0"
| #define PACKAGE_STRING "ffabi 0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:7028: checking for ANSI C header files
configure:7048: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -c -g -O2 conftest.c >&5
configure:7048: $? = 0
configure:7121: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -o conftest -g -O2 conftest.c >&5
configure:7121: $? = 0
configure:7121: ./conftest
configure:7121: $? = 0
configure:7132: result: yes
configure:7145: checking for sys/types.h
configure:7145: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -c -g -O2 conftest.c >&5
configure:7145: $? = 0
configure:7145: result: yes
configure:7145: checking for sys/stat.h
configure:7145: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -c -g -O2 conftest.c >&5
configure:7145: $? = 0
configure:7145: result: yes
configure:7145: checking for stdlib.h
configure:7145: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -c -g -O2 conftest.c >&5
configure:7145: $? = 0
configure:7145: result: yes
configure:7145: checking for string.h
configure:7145: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -c -g -O2 conftest.c >&5
configure:7145: $? = 0
configure:7145: result: yes
configure:7145: checking for memory.h
configure:7145: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -c -g -O2 conftest.c >&5
configure:7145: $? = 0
configure:7145: result: yes
configure:7145: checking for strings.h
configure:7145: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -c -g -O2 conftest.c >&5
configure:7145: $? = 0
configure:7145: result: yes
configure:7145: checking for inttypes.h
configure:7145: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -c -g -O2 conftest.c >&5
configure:7145: $? = 0
configure:7145: result: yes
configure:7145: checking for stdint.h
configure:7145: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -c -g -O2 conftest.c >&5
configure:7145: $? = 0
configure:7145: result: yes
configure:7145: checking for unistd.h
configure:7145: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -c -g -O2 conftest.c >&5
configure:7145: $? = 0
configure:7145: result: yes
configure:7159: checking for dlfcn.h
configure:7159: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -c -g -O2 conftest.c >&5
configure:7159: $? = 0
configure:7159: result: yes
configure:7364: checking for objdir
configure:7379: result: .libs
configure:7650: checking if /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 supports -fno-rtti -fno-exceptions
configure:7668: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
configure:7672: $? = 0
configure:7685: result: no
configure:8012: checking for /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 option to produce PIC
configure:8019: result: -fPIC -DPIC
configure:8027: checking if /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 PIC flag -fPIC -DPIC works
configure:8045: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5
configure:8049: $? = 0
configure:8062: result: yes
configure:8091: checking if /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 static flag -static works
configure:8119: result: yes
configure:8134: checking if /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 supports -c -o file.o
configure:8155: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -c -g -O2 -o out/conftest2.o conftest.c >&5
configure:8159: $? = 0
configure:8181: result: yes
configure:8189: checking if /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 supports -c -o file.o
configure:8236: result: yes
configure:8269: checking whether the /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 linker (/usr/bin/ld) supports shared libraries
configure:9426: result: yes
configure:9463: checking whether -lc should be explicitly linked in
configure:9471: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -c -g -O2 conftest.c >&5
configure:9474: $? = 0
configure:9489: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -shared -fPIC -DPIC -o conftest conftest.o -v 2\>\&1 \| /usr/bin/grep -lc \>/dev/null 2\>\&1
configure:9492: $? = 1
configure:9506: result: yes
configure:9666: checking dynamic linker characteristics
configure:10400: result: openbsd6.1 ld.so
configure:10507: checking how to hardcode library paths into programs
configure:10532: result: immediate
configure:11072: checking whether stripping libraries is possible
configure:11077: result: yes
configure:11112: checking if libtool supports shared libraries
configure:11114: result: yes
configure:11117: checking whether to build shared libraries
configure:11138: result: yes
configure:11141: checking whether to build static libraries
configure:11145: result: no
configure:11277: checking for gcc
configure:11304: result: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4
configure:11533: checking for C compiler version
configure:11542: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 --version >&5
x86_64-unknown-openbsd6.1-gcc-4.9.4 (GCC) 4.9.4
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:11553: $? = 0
configure:11542: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -v >&5
Using built-in specs.
COLLECT_GCC=/usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-unknown-openbsd6.1/4.9.4/lto-wrapper
Target: x86_64-unknown-openbsd6.1
Configured with: /usr/obj/ports/gcc-4.9.4/gcc-4.9.4/configure --enable-libgcj --without-jar --verbose --program-transform-name='s,^,e,' --disable-nls --with-system-zlib --disable-libmudflap --disable-libgomp --disable-tls --with-gnu-ld --with-gnu-as --enable-threads=posix --enable-wchar_t --with-gmp=/usr/local --enable-languages=c,c++,fortran,objc,java,ada --disable-libstdcxx-pch --enable-cpp --prefix=/usr/local --sysconfdir=/etc --mandir=/usr/local/man --infodir=/usr/local/info --localstatedir=/var --disable-silent-rules --disable-gtk-doc
Thread model: posix
gcc version 4.9.4 (GCC)
configure:11553: $? = 0
configure:11542: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -V >&5
x86_64-unknown-openbsd6.1-gcc-4.9.4: error: unrecognized command line option '-V'
x86_64-unknown-openbsd6.1-gcc-4.9.4: fatal error: no input files
compilation terminated.
configure:11553: $? = 1
configure:11542: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -qversion >&5
x86_64-unknown-openbsd6.1-gcc-4.9.4: error: unrecognized command line option '-qversion'
x86_64-unknown-openbsd6.1-gcc-4.9.4: fatal error: no input files
compilation terminated.
configure:11553: $? = 1
configure:11557: checking whether we are using the GNU C compiler
configure:11585: result: yes
configure:11594: checking whether /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 accepts -g
configure:11655: result: yes
configure:11672: checking for /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 option to accept ISO C89
configure:11748: result: none needed
configure:11880: checking for C++ compiler version
configure:11889: /usr/local/bin/x86_64-unknown-openbsd6.1-ec++ --version >&5
x86_64-unknown-openbsd6.1-ec++ (GCC) 4.9.4
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:11900: $? = 0
configure:11889: /usr/local/bin/x86_64-unknown-openbsd6.1-ec++ -v >&5
Using built-in specs.
COLLECT_GCC=/usr/local/bin/x86_64-unknown-openbsd6.1-ec++
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-unknown-openbsd6.1/4.9.4/lto-wrapper
Target: x86_64-unknown-openbsd6.1
Configured with: /usr/obj/ports/gcc-4.9.4/gcc-4.9.4/configure --enable-libgcj --without-jar --verbose --program-transform-name='s,^,e,' --disable-nls --with-system-zlib --disable-libmudflap --disable-libgomp --disable-tls --with-gnu-ld --with-gnu-as --enable-threads=posix --enable-wchar_t --with-gmp=/usr/local --enable-languages=c,c++,fortran,objc,java,ada --disable-libstdcxx-pch --enable-cpp --prefix=/usr/local --sysconfdir=/etc --mandir=/usr/local/man --infodir=/usr/local/info --localstatedir=/var --disable-silent-rules --disable-gtk-doc
Thread model: posix
gcc version 4.9.4 (GCC)
configure:11900: $? = 0
configure:11889: /usr/local/bin/x86_64-unknown-openbsd6.1-ec++ -V >&5
x86_64-unknown-openbsd6.1-ec++: error: unrecognized command line option '-V'
x86_64-unknown-openbsd6.1-ec++: fatal error: no input files
compilation terminated.
configure:11900: $? = 1
configure:11889: /usr/local/bin/x86_64-unknown-openbsd6.1-ec++ -qversion >&5
x86_64-unknown-openbsd6.1-ec++: error: unrecognized command line option '-qversion'
x86_64-unknown-openbsd6.1-ec++: fatal error: no input files
compilation terminated.
configure:11900: $? = 1
configure:11904: checking whether we are using the GNU C++ compiler
configure:11923: /usr/local/bin/x86_64-unknown-openbsd6.1-ec++ -c conftest.cpp >&5
configure:11923: $? = 0
configure:11932: result: yes
configure:11941: checking whether /usr/local/bin/x86_64-unknown-openbsd6.1-ec++ accepts -g
configure:11961: /usr/local/bin/x86_64-unknown-openbsd6.1-ec++ -c -g conftest.cpp >&5
configure:11961: $? = 0
configure:12002: result: yes
configure:12043: checking how to run the C++ preprocessor
configure:12070: /usr/local/bin/x86_64-unknown-openbsd6.1-ec++ -E conftest.cpp
configure:12070: $? = 0
configure:12084: /usr/local/bin/x86_64-unknown-openbsd6.1-ec++ -E conftest.cpp
conftest.cpp:21:28: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^
compilation terminated.
configure:12084: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ffabi"
| #define PACKAGE_TARNAME "ffabi"
| #define PACKAGE_VERSION "0"
| #define PACKAGE_STRING "ffabi 0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:12109: result: /usr/local/bin/x86_64-unknown-openbsd6.1-ec++ -E
configure:12129: /usr/local/bin/x86_64-unknown-openbsd6.1-ec++ -E conftest.cpp
configure:12129: $? = 0
configure:12143: /usr/local/bin/x86_64-unknown-openbsd6.1-ec++ -E conftest.cpp
conftest.cpp:21:28: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^
compilation terminated.
configure:12143: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ffabi"
| #define PACKAGE_TARNAME "ffabi"
| #define PACKAGE_VERSION "0"
| #define PACKAGE_STRING "ffabi 0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:12312: checking for ld used by /usr/local/bin/x86_64-unknown-openbsd6.1-ec++
configure:12379: result: /usr/bin/ld
configure:12386: checking if the linker (/usr/bin/ld) is GNU ld
configure:12401: result: yes
configure:12456: checking whether the /usr/local/bin/x86_64-unknown-openbsd6.1-ec++ linker (/usr/bin/ld) supports shared libraries
configure:13458: result: yes
configure:13494: /usr/local/bin/x86_64-unknown-openbsd6.1-ec++ -c -g -O2 conftest.cpp >&5
configure:13497: $? = 0
configure:14017: checking for /usr/local/bin/x86_64-unknown-openbsd6.1-ec++ option to produce PIC
configure:14024: result: -fPIC -DPIC
configure:14032: checking if /usr/local/bin/x86_64-unknown-openbsd6.1-ec++ PIC flag -fPIC -DPIC works
configure:14050: /usr/local/bin/x86_64-unknown-openbsd6.1-ec++ -c -g -O2 -fPIC -DPIC -DPIC conftest.cpp >&5
configure:14054: $? = 0
configure:14067: result: yes
configure:14090: checking if /usr/local/bin/x86_64-unknown-openbsd6.1-ec++ static flag -static works
configure:14118: result: yes
configure:14130: checking if /usr/local/bin/x86_64-unknown-openbsd6.1-ec++ supports -c -o file.o
configure:14151: /usr/local/bin/x86_64-unknown-openbsd6.1-ec++ -c -g -O2 -o out/conftest2.o conftest.cpp >&5
configure:14155: $? = 0
configure:14177: result: yes
configure:14182: checking if /usr/local/bin/x86_64-unknown-openbsd6.1-ec++ supports -c -o file.o
configure:14229: result: yes
configure:14259: checking whether the /usr/local/bin/x86_64-unknown-openbsd6.1-ec++ linker (/usr/bin/ld) supports shared libraries
configure:14298: result: yes
configure:14439: checking dynamic linker characteristics
configure:15107: result: openbsd6.1 ld.so
configure:15160: checking how to hardcode library paths into programs
configure:15185: result: immediate
configure:15227: checking for -objcopy
configure:15257: result: no
configure:15267: checking for objcopy
configure:15283: found /usr/bin/objcopy
configure:15295: result: objcopy
configure:15312: checking for -ld
configure:15339: result: /usr/bin/ld
configure:15409: checking for a BSD-compatible install
configure:15477: result: /usr/bin/install -c
configure:15499: checking zlib.h usability
configure:15499: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -c -g -O2 conftest.c >&5
configure:15499: $? = 0
configure:15499: result: yes
configure:15499: checking zlib.h presence
configure:15499: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -E conftest.c
configure:15499: $? = 0
configure:15499: result: yes
configure:15499: checking for zlib.h
configure:15499: result: yes
configure:15516: checking for compress2 in -lz
configure:15541: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -o conftest -g -O2 conftest.c -lz >&5
configure:15541: $? = 0
configure:15550: result: yes
configure:15567: checking openssl/opensslconf.h usability
configure:15567: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -c -g -O2 conftest.c >&5
configure:15567: $? = 0
configure:15567: result: yes
configure:15567: checking openssl/opensslconf.h presence
configure:15567: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -E conftest.c
configure:15567: $? = 0
configure:15567: result: yes
configure:15567: checking for openssl/opensslconf.h
configure:15567: result: yes
configure:15584: checking for AES_encrypt in -lcrypto
configure:15609: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -o conftest -g -O2 conftest.c -lcrypto >&5
configure:15609: $? = 0
configure:15618: result: yes
configure:15635: checking expat.h usability
configure:15635: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -c -g -O2 conftest.c >&5
configure:15635: $? = 0
configure:15635: result: yes
configure:15635: checking expat.h presence
configure:15635: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -E conftest.c
configure:15635: $? = 0
configure:15635: result: yes
configure:15635: checking for expat.h
configure:15635: result: yes
configure:15652: checking for XML_ParserCreate in -lexpat
configure:15677: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -o conftest -g -O2 conftest.c -lexpat >&5
configure:15677: $? = 0
configure:15686: result: yes
configure:15755: checking for pkg-config
configure:15773: found /usr/bin/pkg-config
configure:15785: result: /usr/bin/pkg-config
configure:15810: checking pkg-config is at least version 0.9.0
configure:15813: result: yes
configure:15823: checking for ffmpeg
configure:15830: $PKG_CONFIG --exists --print-errors "libavcodec libavutil"
configure:15833: $? = 0
configure:15847: $PKG_CONFIG --exists --print-errors "libavcodec libavutil"
configure:15850: $? = 0
configure:15888: result: yes
configure:15900: checking whether LIBAVCODEC_VERSION_MAJOR is declared
configure:15900: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -c -g -O2 -I/home2/testuser/ffmpeg/include conftest.c >&5
configure:15900: $? = 0
configure:15900: result: yes
configure:15914: checking LIBAVCODEC_VERSION_MAJOR
configure:15916: /usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -o conftest -g -O2 -I/home2/testuser/ffmpeg/include conftest.c -L/home2/testuser/ffmpeg/lib -L/usr/X11R6/lib -L/usr/local/lib -pthread -lavcodec -lossaudio -liconv -lxcb -lxcb-shm -lxcb-xfixes -lxcb-shape -lsndio -lfdk-aac -llzma -lbz2 -lz -lswresample -lavutil -lm -lrt >&5
/usr/bin/ld: cannot find -lrt
collect2: error: ld returned 1 exit status
configure:15916: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ffabi"
| #define PACKAGE_TARNAME "ffabi"
| #define PACKAGE_VERSION "0"
| #define PACKAGE_STRING "ffabi 0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB_H 1
| #define HAVE_OPENSSL_OPENSSLCONF_H 1
| #define HAVE_EXPAT_H 1
| /* end confdefs.h. */
|
| #include <libavcodec/avcodec.h>
|
| static long int longval () { return LIBAVCODEC_VERSION_MAJOR; }
| static unsigned long int ulongval () { return LIBAVCODEC_VERSION_MAJOR; }
| #include <stdio.h>
| #include <stdlib.h>
| int
| main ()
| {
|
| FILE *f = fopen ("conftest.val", "w");
| if (! f)
| return 1;
| if ((LIBAVCODEC_VERSION_MAJOR) < 0)
| {
| long int i = longval ();
| if (i != (LIBAVCODEC_VERSION_MAJOR))
| return 1;
| fprintf (f, "%ld", i);
| }
| else
| {
| unsigned long int i = ulongval ();
| if (i != (LIBAVCODEC_VERSION_MAJOR))
| return 1;
| fprintf (f, "%lu", i);
| }
| /* Do not output a trailing newline, as this causes \r\n confusion
| on some platforms. */
| return ferror (f) || fclose (f) != 0;
|
| ;
| return 0;
| }
configure:15922: result: failed
configure:15924: error: in `/home2/testuser/Downloads/makemkv-oss-1.10.5':
configure:15926: error: LIBAVCODEC_VERSION_MAJOR is not known at compile time in libavcodec.h
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-openbsd6.1
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=/usr/local/bin/x86_64-unknown-openbsd6.1-ec++
ac_cv_env_DESTDIR_set=
ac_cv_env_DESTDIR_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=set
ac_cv_env_PKG_CONFIG_PATH_value=/home2/testuser/ffmpeg/lib/pkgconfig
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_ffmpeg_CFLAGS_set=
ac_cv_env_ffmpeg_CFLAGS_value=
ac_cv_env_ffmpeg_LIBS_set=
ac_cv_env_ffmpeg_LIBS_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_qt4_CFLAGS_set=
ac_cv_env_qt4_CFLAGS_value=
ac_cv_env_qt4_LIBS_set=
ac_cv_env_qt4_LIBS_value=
ac_cv_env_qt5_CFLAGS_set=
ac_cv_env_qt5_CFLAGS_value=
ac_cv_env_qt5_LIBS_set=
ac_cv_env_qt5_LIBS_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_have_decl_LIBAVCODEC_VERSION_MAJOR=yes
ac_cv_header_dlfcn_h=yes
ac_cv_header_expat_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_openssl_opensslconf_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_header_zlib_h=yes
ac_cv_host=x86_64-unknown-openbsd6.1
ac_cv_lib_crypto_AES_encrypt=yes
ac_cv_lib_expat_XML_ParserCreate=yes
ac_cv_lib_z_compress2=yes
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_FGREP='/usr/bin/grep -F'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=awk
ac_cv_prog_CPP='/usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -E'
ac_cv_prog_CXXCPP='/usr/local/bin/x86_64-unknown-openbsd6.1-ec++ -E'
ac_cv_prog_LD=/usr/bin/ld
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=/usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4
ac_cv_prog_ac_ct_MANIFEST_TOOL=mt
ac_cv_prog_ac_ct_OBJCOPY=objcopy
ac_cv_prog_ac_ct_OBJDUMP=objdump
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_target=x86_64-unknown-openbsd6.1
lt_cv_ar_at_file=@
lt_cv_archive_cmds_need_lc=yes
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/bin/ld
lt_cv_path_LDCXX=/usr/bin/ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_c_o_CXX=yes
lt_cv_prog_compiler_pic='-fPIC -DPIC'
lt_cv_prog_compiler_pic_CXX='-fPIC -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_pic_works_CXX=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_compiler_static_works_CXX=yes
lt_cv_prog_gnu_ld=no
lt_cv_prog_gnu_ldcxx=yes
lt_cv_sharedlib_from_linklib_cmd='print -r --'
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BCDEGRST]* .* \(.*\)$/extern char \1;/p'\'
lt_cv_sys_max_cmd_len=196608
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop
pkg_cv_ffmpeg_CFLAGS=-I/home2/testuser/ffmpeg/include
pkg_cv_ffmpeg_LIBS='-L/home2/testuser/ffmpeg/lib -L/usr/X11R6/lib -L/usr/local/lib -pthread -lavcodec -lossaudio -liconv -lxcb -lxcb-shm -lxcb-xfixes -lxcb-shape -lsndio -lfdk-aac -llzma -lbz2 -lz -lswresample -lavutil -lm'

## ----------------- ##
## Output variables. ##
## ----------------- ##

AR='ar'
AWK='awk'
CC='/usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4'
CFLAGS='-g -O2'
CPP='/usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4 -E'
CPPFLAGS='-I/home2/testuser/ffmpeg/include'
CXX='/usr/local/bin/x86_64-unknown-openbsd6.1-ec++'
CXXCPP='/usr/local/bin/x86_64-unknown-openbsd6.1-ec++ -E'
CXXFLAGS='-g -O2'
DEFS=''
DESTDIR=''
DLLTOOL='false'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/grep -E'
ENABLE_DEBUG='no'
ENABLE_GUI='yes'
EXEEXT=''
FGREP='/usr/bin/grep -F'
GREP='/usr/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LD='/usr/bin/ld'
LDFLAGS=''
LIBOBJS=''
LIBS='-L/home2/testuser/ffmpeg/lib -L/usr/X11R6/lib -L/usr/local/lib -pthread -lavcodec -lossaudio -liconv -lxcb -lxcb-shm -lxcb-xfixes -lxcb-shape -lsndio -lfdk-aac -llzma -lbz2 -lz -lswresample -lavutil -lm -lrt'
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
MANIFEST_TOOL=':'
NM='/usr/bin/nm -B'
NMEDIT=''
NO_EC_DEF=''
OBJCOPY='objcopy'
OBJDUMP='objdump'
OBJEXT='o'
OTOOL64=''
OTOOL=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME='ffabi'
PACKAGE_STRING='ffabi 0'
PACKAGE_TARNAME='ffabi'
PACKAGE_URL=''
PACKAGE_VERSION='0'
PATH_SEPARATOR=':'
PKG_CONFIG='/usr/bin/pkg-config'
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH='/home2/testuser/ffmpeg/lib/pkgconfig'
QT_CFLAGS=''
QT_INC=''
QT_LIB=''
QT_MOC=''
RANLIB='ranlib'
SED='/usr/bin/sed'
SHELL='/bin/sh'
STRIP='strip'
ac_ct_AR='ar'
ac_ct_CC='/usr/local/bin/x86_64-unknown-openbsd6.1-gcc-4.9.4'
ac_ct_CXX=''
ac_ct_DUMPBIN=''
bindir='${exec_prefix}/bin'
build='x86_64-unknown-openbsd6.1'
build_alias=''
build_cpu='x86_64'
build_os='openbsd6.1'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
ffmpeg_CFLAGS='-I/home2/testuser/ffmpeg/include'
ffmpeg_LIBS='-L/home2/testuser/ffmpeg/lib -L/usr/X11R6/lib -L/usr/local/lib -pthread -lavcodec -lossaudio -liconv -lxcb -lxcb-shm -lxcb-xfixes -lxcb-shape -lsndio -lfdk-aac -llzma -lbz2 -lz -lswresample -lavutil -lm'
host='x86_64-unknown-openbsd6.1'
host_alias=''
host_cpu='x86_64'
host_os='openbsd6.1'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/home2/testuser/makemkv'
program_transform_name='s,x,x,'
psdir='${docdir}'
qt4_CFLAGS=''
qt4_LIBS=''
qt5_CFLAGS=''
qt5_LIBS=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='x86_64-unknown-openbsd6.1'
target_alias=''
target_cpu='x86_64'
target_os='openbsd6.1'
target_vendor='unknown'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "ffabi"
#define PACKAGE_TARNAME "ffabi"
#define PACKAGE_VERSION "0"
#define PACKAGE_STRING "ffabi 0"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_ZLIB_H 1
#define HAVE_OPENSSL_OPENSSLCONF_H 1
#define HAVE_EXPAT_H 1

configure: exit 1

mpichler
Posts: 1
Joined: Wed May 17, 2017 7:15 am

Re: Trying to build on OpenBSD

#3 Post by mpichler » Wed May 17, 2017 7:20 am

Hi,
mymlact wrote:Note this is the first step, building the OSS portion, have not attempted moving on to the bin piece yes.
The bin piece (which is required to run the OSS part) contains Linux binaries, how are you going to run them on OpenBSD?

Max

Post Reply