Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Dave Yeo

Pages: [1] 2 3 ... 364
1
I started trying to build it. Where to put the prerequisites was unclear, I did find a hint that perhaps ports. Seems the build system builds most of them during the main build. I was using my ram disk for this and backing it up now and again when Alex announced he was quitting OS/2 development so never asked any of the questions that were arising.
I was looking to figure out why swab() was declared twice even though guarded, probably by compiling with CFLAGS=-E to get the pre-processor output after the build failed. Never got that far.
I've uploaded my work in process to ftp://dry@ftp.os2voice.org/tmp/agena-5.1.zip. The prerequisites are in ports/ never did examine the makefile well enough to know if that is correct. mapmagena needed mapm of which I found a copy and built.
Good luck and I can play along if needed. Let me know when you've downloaded the source and I'll remove it.
Edit: typo

3
Web applications / Re: Dooble releases, Qt5 builds
« on: Today at 01:26:05 am »
The question is how well our port handles drag'n'drop. I think within the browser it should work as long as you remember it uses the other mouse button to drag.

5
If issue 3798 is yours, can you comment that you got it working and I'll resolve it. Glad you got it working.

6
Forgot to ask, are you getting the first menu where you have a choice of booting from the HD or the stick? If not I'd consider the stick broken.

7
Can you try your media on a different computer? You don't have to actually do an install, just see if your media boots.

8
I think he has had https://mantis.arcanoae.com/view.php?id=3798 open since the 27th with no one jumping in. Lewis is the T4x expert and likely been busy with the web site upgrade.
I think Doug is on the right track with not properly creating the stick. See what Dan says.

9
It's weird, the boot should go further. My T42 is a bitch to boot the USB but DVD boot has always simply worked.
Did you check the md5sum on your ISO, does sound like a corrupted ISO. Sometimes USB sticks have subtle errors, especially if old, but you're getting the same with the DVD boot.
You can always request a new ISO build from Arca Noae.

10
Programming / Re: Networking: socket() returns positive `non-socket`
« on: July 09, 2025, 01:11:51 am »
Thank you for all your kind help. Thank you, indeed. Especially you, Dave on your cool math OS/2 fix.

I just decided to remove all OS/2-related code from Agena. It took me lifetime weeks with all the weird OS/2 quarrels with no avail.

Nobody is using OS/2 any longer. And this is really sad. But I have to accept that.

Alex

Shame to see you go, but quite understandable as the OS/2 base continues to shrink.

11
Programming / Re: Networking: socket() returns positive `non-socket`
« on: July 08, 2025, 06:47:11 am »
Building agena with makefile.os2 renamed to makefile, so 'make os2' with gcc 9.2.0 dies with,
Code: [Select]
make all MYCFLAGS="-O2 -static-libgcc -DLUA_BUILD_AS_DLL -D_FILE_OFFSET_BITS=64 -D_DIRENT_HAVE_D_TYPE -DPCRE2_CODE_UNIT_WIDTH=8 -D__ST_MT_ERRNO__ -DLUA_USE_LINUX -DINCL_BASE -DHAVE_NCURSES_H"
make[1]: Entering directory 'H:/tmp/agena-5.1.1-src/src'
gcc -Wall -Wno-attributes -Wno-strict-aliasing -Wno-deprecated-declarations -Wno-unknown-pragmas -fgnu89-inline -fomit-frame-pointer -DLUA_BUILD_AS_DLL -D_FILE_OFFSET_BITS=64 -D_DIRENT_HAVE_D_TYPE -DPCRE2_CODE_UNIT_WIDTH=8 -D__ST_MT_ERRNO__ -DLUA_USE_LINUX -DINCL_BASE -DHAVE_NCURSES_H -O2 -static-libgcc -DLUA_BUILD_AS_DLL -D_FILE_OFFSET_BITS=64 -D_DIRENT_HAVE_D_TYPE -DPCRE2_CODE_UNIT_WIDTH=8 -D__ST_MT_ERRNO__ -DLUA_USE_LINUX -DINCL_BASE -DHAVE_NCURSES_H   -c -o lvm.o lvm.c
In file included from ldo.h:11,
                 from lvm.h:10,
                 from lvm.c:24:
lvm.c: In function 'luaV_execute':
lobject.h:217:37: error: incompatible types when assigning to type 'complex double' from type 'lua_Number *' {aka 'double *'}
  217 |   { TValue *i_o=(obj); i_o->value.c=(x); i_o->tt=LUA_TCOMPLEX; }
      |                                     ^
lvm.c:9121:15: note: in expansion of macro 'setcvalue'
 9121 |               setcvalue(ra, z);
      |               ^~~~~~~~~
make[1]: *** [<builtin>: lvm.o] Error 1
make[1]: Leaving directory 'H:/tmp/agena-5.1.1-src/src'
make: *** [makefile:117: os2] Error 2

Similar error with gcc 4.4.6, just less informative.
Need a cast?

12
Programming / Re: Networking: socket() returns positive `non-socket`
« on: July 08, 2025, 05:14:12 am »
So, wondering why the guard around swab in W:\usr\lib\gcc\i686-pc-os2-emx\9\include-fixed\unistd.h fails for you yet the same one in unistd.h works, I thought to download the source.
Rather my sourceforge cookie expired or they've changed their code as all I get is the cloudflare verifying you are human thingy now. Tried on my phone, got something like "downloading to this device is not allowed" in 3 different browsers. Fell back to using Thunderbird, which actually still works. This is a problem on OS/2 as all our browsers fail to get by cloudflare now. Previously I've been asked for help downloading agena due to cloudflare and due to having a cookie, I could.
Next problem, makefile.os2 says https://sourceforge.net/projects/agena/files/Packages/mapmagena-1.1.2a.tar.gz/download is a prerequisite. Sourceforge says it doesn't exist. So using Thunderbird, I found mapmagena-2.0.4.tar.gz in your files area.
I'll try compiling soon.
BTW, Arca Noae does not support GCC and recommends using OpenWatcom, see https://www.arcanoae.com/wiki/information-for-developers/ Most of GCC development is done by Paul now, previously Bitwise who helped Paul and tweaked 9.2.0 and for klibc, originally IBM paid for it to build Mozilla.

13
Programming / Re: Networking: socket() returns positive `non-socket`
« on: July 07, 2025, 11:22:35 pm »

I just discovered that I have already GCC 9.2.0 installed but any compilation attempt fails because of this `swab`conflict that has been haunting me for years.


Hi Alex, what error does the 'swab' conflict give?

14
Programming / Re: Networking: socket() returns positive `non-socket`
« on: July 07, 2025, 06:07:59 pm »
Hi, not much of a programmer so I'll let others comment on the code.
For your linking line, I'd drop the -lsocket, it's not needed with current libc. Add -lcx (libc extensions) and also use -Zomf, probably before the -L.
-Zomf will convert the object files to native OMF and use the system linker rather then the ancient ld. You may have to install watcom-wlink-hll using yum and set things up to use wl.exe as the linker. Run emxomfld with no parameters to see the needed environment variables. -Zomf is also required to use debuggers, of which only native ones work.
Once working -Zhigh-mem is a good LDFLAG to use memory in the high arena (above 1GB). -Zmap is handy to build a map file for debugging purposes.

Is there a reason not to start out using the yum installed GCC 9.2.0? Includes, libs etc will just work and after you have it working, you can rebuild with the older GCC's if you choose.

Pages: [1] 2 3 ... 364