June 18, 2019, 06:40:23 AM

Author Topic: koriolis.mod not working in 64-bit  (Read 959 times)

Offline markcwm

  • Sr. Member
  • ****
  • Posts: 390
koriolis.mod not working in 64-bit
« on: July 26, 2017, 07:28:37 PM »
Hi Brucey,

I'm a bit lost with this! The example in zipstream.mod works in 32-bit but I get undefined reference errors trying to run in 64-bit, same on Win or Linux. Here's the full error report:
Code: [Select]
[100%] Linking:example_01.debug
~/bmx-ng/mod/koriolis.mod/zipstream.mod/zipstream.debug.linux.x64.a(bmxsupport.c.debug.linux.x64.o): In function `bmx_zipstream_seek_file_func':
~/bmx-ng/mod/koriolis.mod/zipstream.mod/bmxsupport.c:88: undefined reference to `koriolis_zipstream_TZipStream_seek_file_func'
~/bmx-ng/mod/koriolis.mod/zipstream.mod/zipstream.debug.linux.x64.a(bmxsupport.c.debug.linux.x64.o): In function `bmx_zipstream_open_file_func':
~/bmx-ng/mod/koriolis.mod/zipstream.mod/bmxsupport.c:72: undefined reference to `koriolis_zipstream_TZipStream_open_file_func'
~/bmx-ng/mod/koriolis.mod/zipstream.mod/zipstream.debug.linux.x64.a(bmxsupport.c.debug.linux.x64.o): In function `bmx_zipstream_read_file_func':
~/bmx-ng/mod/koriolis.mod/zipstream.mod/bmxsupport.c:76: undefined reference to `koriolis_zipstream_TZipStream_read_file_func'
~/bmx-ng/mod/koriolis.mod/zipstream.mod/zipstream.debug.linux.x64.a(bmxsupport.c.debug.linux.x64.o): In function `bmx_zipstream_write_file_func':
~/bmx-ng/mod/koriolis.mod/zipstream.mod/bmxsupport.c:80: undefined reference to `koriolis_zipstream_TZipStream_write_file_func'
~/bmx-ng/mod/koriolis.mod/zipstream.mod/zipstream.debug.linux.x64.a(bmxsupport.c.debug.linux.x64.o): In function `bmx_zipstream_tell_file_func':
~/bmx-ng/mod/koriolis.mod/zipstream.mod/bmxsupport.c:84: undefined reference to `koriolis_zipstream_TZipStream_tell_file_func'
~/bmx-ng/mod/koriolis.mod/zipstream.mod/zipstream.debug.linux.x64.a(bmxsupport.c.debug.linux.x64.o): In function `bmx_zipstream_close_file_func':
~/bmx-ng/mod/koriolis.mod/zipstream.mod/bmxsupport.c:94: undefined reference to `koriolis_zipstream_TZipStream_close_file_func'
~/bmx-ng/mod/koriolis.mod/zipstream.mod/zipstream.debug.linux.x64.a(bmxsupport.c.debug.linux.x64.o): In function `bmx_zipstream_testerror_file_func':
~/bmx-ng/mod/koriolis.mod/zipstream.mod/bmxsupport.c:98: undefined reference to `koriolis_zipstream_TZipStream_testerror_file_func'
collect2: error: ld returned 1 exit status
Build Error: Failed to link ~/bmx-ng/mod/koriolis.mod/zipstream.mod/examples/example_01.debug

Offline Brucey

  • Jr. Member
  • **
  • Posts: 71
Re: koriolis.mod not working in 64-bit
« Reply #1 on: July 26, 2017, 09:19:14 PM »
Hallo :-)

Try updating now. I've just fixed a couple of things.

Offline markcwm

  • Sr. Member
  • ****
  • Posts: 390
Re: koriolis.mod not working in 64-bit
« Reply #2 on: July 26, 2017, 10:31:04 PM »
Wow! It works. :o

Tested the example in ubuntu 64-bit NG and windows 7 64-bit NG and OS/1.52.

Thanks Brucey!