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 ... 379
1
Internet / Re: Problems with OpenSSL library after update.
« on: February 04, 2026, 06:55:17 pm »
Yes, the long term plan is to move GCC to compiling to ELF, which it is already capable of. Wlink in theory can link ELF files to OS/2 executables and does mostly work for C programs. CPLUS is another matter. As well other parts of the toolchain would need updating. Need a skilled programmer that is interested.
As for OpenSSL, another option might be not using the assembly code. Haven't looked at OpenSSL, but generally these projects have C code as well as assembly with the C code being a fall back for times when there is no assembly available like using a different CPU. Be slower and need to recompile the library.

2
Internet / Re: Problems with OpenSSL library after update.
« on: February 02, 2026, 05:01:19 am »
OK, didn't realize where the developers are, pretty crappy situation. At that the whole world seems to be going down the flusher.
As for the problem, yes it should be fixed. There's always people with old hardware/operating systems vs developers with the latest and endless ram etc.

3
Applications / Re: Software Port Requests
« on: February 02, 2026, 02:44:12 am »
Tellie, could you post your diffs? I never did get a the exports working here and my qtupnp.dll was much bigger.

4
Internet / Re: Problems with OpenSSL library after update.
« on: February 02, 2026, 02:07:45 am »
Can you ask the OS4 people for a switch to turn off the AVX handling? I forget the basics but the OS does advertise whether it supports AVX and that would all that needs to be turned off.

5
Applications / Re: Software Port Requests
« on: January 31, 2026, 06:05:42 pm »
Did that and added OS/2 to the UPNP_EXPORTS define (needed for linking) yesterday, still missing symbols. Have to look better later when I have more time.
Edit: The import lib now is a lot bigger so it's just the linker line that needs fixed, later.

6
Applications / Re: Software Port Requests
« on: January 30, 2026, 07:47:32 pm »
I gave it a quick try. Unluckily I got a DLL with no exports. Perhaps Tellie will have better luck, he seems to have a better environment.

7
Applications / Re: Java applications
« on: January 29, 2026, 06:50:26 pm »
Seems the emulator is using the Replica 1 ROM which does have basic included.

8
Applications / Re: Java applications
« on: January 29, 2026, 06:44:57 am »
Try PRINT "HELLO" and PRINT 1+2. These would work on an APPLE II, not sure if the APPLE I had basic.
Hmm, see https://www.applefritter.com/replica/chapter5 seems originally it did not have it in ROM. And it booted into the monitor. Come to think of it, I believe the 1st APPLE II also booted into the monitor, which was quite capable and included a mini-assembler.
Edit: Fix typo

9
Article Discussions / Re: Games with older SDL and FSLIB
« on: January 28, 2026, 05:53:28 pm »
It seems to be a local problem. I should probably uninstall and reinstall cmake.
Often I can work around by using Ninja instead of make but am unsure how to add extra includes and libraries as we're using the OW SDL libs.


10
Article Discussions / Re: Games with older SDL and FSLIB
« on: January 28, 2026, 05:19:25 am »
Been having problems with cmake, it produces makefiles that recurse and lock the system up.

11
Applications / Re: General Software Testing
« on: January 27, 2026, 08:07:11 am »
Hello

Any idea what this program is?

Is it the "Anthy -- Japanese Kana-Kanji Conversion Engine Library" ?
https://github.com/netsphere-labs/anthy

Seems to be, tried building the git version,
Code: [Select]
Directory of H:\tmp\anthy\src-util

 1-26-26  7:45p        48,204      0 a---  anthy-agent.exe
 1-26-26  7:44p        37,738      0 a---  anthy-dic-tool.exe
 1-26-26  7:45p        40,169      0 a---  anthy-morphological-analyzer.exe
Unluckily the git version uses UTF8.

Quote
how do we know if it works?
Almost seems like something is missing,
Code: [Select]
H:\anthy\bin>anthy-agent.exe
Failed to init anthy
Or perhaps I don't know how to run it. Need a Japanese user I guess.
Quote
Regards

Unluckily the build dies, needs some -L and -l added to the configure LDFLAGS and LIBS to fix some missing symbols.
Edit: fix a typo

12
Applications / Re: XTide
« on: January 26, 2026, 10:41:26 pm »
Without looking at the code, I have to guess that -DHAVE_ISSETUGID=0 is part of the problem.  This is going to trigger the compatibility code to build.  However, since we have a issetugid(), this is going to cause a problem.

The actual problem call to setugid() doesn't seem to be guarded. Further down there is another call to setugid() that is guarded by HAVE_ISSETUGID. As a single user system it seems we can define it to 0.
Code: [Select]
/* Return 1 if the process is privileged, 0 otherwise.  */
/* static int */
int
issetugid(void)
{
# if HAVE_SYS_AUXV_H && defined AT_SECURE
  unsigned long val;
  errno = 0;
  val = getauxval(AT_SECURE);
  if (val || errno != ENOENT)
    return !!val;
# endif
# if HAVE_GETRESUID
  {
    uid_t ruid, euid, suid;
    gid_t rgid, egid, sgid;
    if (0 <= getresuid (&ruid, &euid, &suid)) {
      if ((ruid ^ euid) | (ruid ^ suid))
        return 1;
      if (0 <= getresgid (&rgid, &egid, &sgid))
        return !!((rgid ^ egid) | (rgid ^ sgid));
    }
  }
# endif

The problem with the duplicate symbols comes from strftime.c, in the case of 32bit time_t, including localtime.c, which has already been compiled.
Seems to me the call to issetugid() could be simply replaced with return 0. Not sure the best way to do that for a void function. Perhaps this?
Code: [Select]
#ifndef __OS2__
static int
issetugid(void)
#else
return 0;
#endif

Edit: Note I had to remove the static due to conflicts with our headers where issetugid() is not static.
Edit2: Testing,
Code: [Select]
localtime.c:391:1: error: expected identifier or '(' before 'return'
  391 | return 0;
      | ^~~~~~
localtime.c:393:1: error: expected identifier or '(' before '{' token
  393 | {
      | ^
make: *** [<builtin>: localtime.o] Error 1

13
Applications / Re: XTide
« on: January 22, 2026, 10:01:40 pm »
I've sorta fixed the repository. History is a bit broken with 3 initial commits, one mine and 2 yours but I doubt it matters.

14
Applications / Re: XTide
« on: January 22, 2026, 04:48:42 pm »
I seems to have messed up the branch.
Code: [Select]
H:\tmp\LIB-TIME-tzdb>git branch
* main
  master

H:\tmp\LIB-TIME-tzdb>git checkout master
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.

H:\tmp\LIB-TIME-tzdb>git checkout main
Switched to branch 'main'
Your branch and 'origin/main' have diverged,
and have 5 and 1 different commits each, respectively.
  (use "git pull" to merge the remote branch into yours)

H:\tmp\LIB-TIME-tzdb>git pull
fatal: refusing to merge unrelated histories

Have to delete the branch and start over I guess.

15
Applications / Re: XTide
« on: January 21, 2026, 10:56:31 pm »
Edit: Just create an empty repository with perhaps a README.MD

Try again https://github.com/OS2World/LIB-TIME-tzdb
It is empty now.

Thanks, not empty now.

Pages: [1] 2 3 ... 379