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 - Bernhard Pöttinger

Pages: [1] 2
1
Programming / Re: ncurses linking error
« on: July 25, 2021, 09:08:40 am »
thank you - "-ltinfo" did it. Now my app is building fine.
many thanks for your help and best regards
Bernhard

2
Programming / ncurses linking error
« on: July 24, 2021, 10:08:11 pm »
Hello, I need help with an application I try to build with gcc. The linker shows 2 undefined symbol errors:

{1}[e:\var\tmp\ucsd_pme-0.1.0\src] gcc -v configfile.o console.o boot.o disk.o graphic.o interpreter.o memory.o null.o p
me.o printer.o remote.o unit_io.o -o pme.exe -lm -lncurses -lcurses
Es werden eingebaute Spezifikationen verwendet.
COLLECT_GCC=E:\USR\BIN\gcc.exe
COLLECT_LTO_WRAPPER=E:/usr/bin/../libexec/gcc/i686-pc-os2-emx/9/lto-wrapper.exe
Ziel: i686-pc-os2-emx
Konfiguriert mit: D:/Users/dmik/rpmbuild/BUILD/gcc-os2-gcc-9_2_0-release-os2-b3/configure --disable-bootstrap --enable-l
anguages=c,c++ --build=i686-pc-os2-emx --with-sysroot=/@unixroot --prefix=/@unixroot/usr --mandir=/@unixroot/usr/share/m
an --infodir=/@unixroot/usr/share/info --with-bugurl=https://github.com/bitwiseworks/gcc-os2/issues --enable-shared --en
able-threads --enable-checking=release --disable-multilib --with-system-zlib --with-gcc-major-version-only --without-isl
 --with-tune=generic --with-arch=i686 --with-gnu-as --disable-libstdcxx-pch
Thread-Modell: os2
gcc-Version 9.2.0 20190812 (OS/2 RPM build 9.2.0-5.oc00) (GCC)
COMPILER_PATH=E:/usr/bin/../libexec/gcc/i686-pc-os2-emx/9/;E:/usr/bin/../libexec/gcc/
LIBRARY_PATH=E:/usr/bin/../lib/gcc/i686-pc-os2-emx/9/;E:/usr/bin/../lib/gcc/;E:/usr/lib/;E:/emx/lib/;E:/usr/bin/../lib/g
cc/i686-pc-os2-emx/9/../../../;/@unixroot/usr/lib/
COLLECT_GCC_OPTIONS='-pipe' '-v' '-o' 'pme.exe' '-mtune=generic' '-march=i686'
 ld.exe -o pme.exe E:/usr/lib/crt0.o -LE:/usr/bin/../lib/gcc/i686-pc-os2-emx/9 -LE:/usr/bin/../lib/gcc -LE:/usr/lib -LE:
/emx/lib -LE:/usr/bin/../lib/gcc/i686-pc-os2-emx/9/../../.. -L/@unixroot/usr/lib configfile.o console.o boot.o disk.o gr
aphic.o interpreter.o memory.o null.o pme.o printer.o remote.o unit_io.o -lm -lncurses -lcurses -lgcc_so_d -lc_alias -lc
_dll -los2 -lgcc_so_d -lc_alias -lc_dll -los2 -lgcc_so_d -lc_alias -lc_dll -los2 -lgcc_so_d -lc_alias -lc_dll -los2
console.o: Undefined symbol _raw referenced from text segment
console.o: Undefined symbol _noraw referenced from text segment

the _raw and _noraw symbols should be defined in ncurses.a:

{1}[e:\usr\lib] nm ncurses.a |grep raw
00001560 T _redrawwin
         U _wredrawln
         U _noraw
         U MouDrawPtr
lib_redrawln.o:
00000000 T _wredrawln
         U _noraw
         U _raw

I have now idea, why I get this two undefined symbols.

many thanks, and best regards
Bernhard


3
Applications / Re: FreeRDP - we have options!!!
« on: June 26, 2021, 08:08:26 am »
Hallo,

you can only use, so called seamless applications (single application which is integrated in the client desktop like a local application), with FreeRDP if you have a windows remote desktop server or you can you can hack the registry on a windows 10 (or 7) enterprise edition. With Windows Professional it is not possible!
There exist some windows third party tools which enable other windows editions than the enterprise edition with this feature, like thinstuff. I tried thinstuff some years ago, but with no success.

Here is an short article (in german) how you can make an normal windows enterprise to an fully functional windows terminal server:

https://www.andysblog.de/windows-terminalserver-marke-eigenbau-inkl-remoteapp-mit-windows-xp-und-windows-7/comment-page-1

The same procedure is working on windows 10 (enterprise).

best regards
Bernhard

4
Applications / Re: FreeRDP - we have options!!!
« on: June 15, 2021, 04:09:03 pm »
Hello,
in general you need a terminal server or remote desktop host in your network for that. That is a windows server component that exists since windows 2000. You must license this component separate from your windows server os license. Every Windows professional or enterprise has this terminal server component also, but only one user can connect per rdp to windows. You can patch the termsrv.dll on windows 7,8,10 that it becomes a multiuser operating systems, so that more than one user can connect to this windows with rdp. With Windows professional you can only open windows fullscreen sessions; with windows enterprise you can hack the registry that single applications will be offered; the enterprise edition from windows 7,8,10 you can run seamless rdp applications.
There exists some 3rd party tools, such as thinstuff, which make the windows client os mult user os and serve applications for rdp clients.
best regards
bernhard

5
Applications / Re: patched PmMerge
« on: June 15, 2021, 03:48:05 pm »
I have installed it on my W520 and my X1 Carbon notebook. Both with ArcaOS 5.0.6. No problems so far.

best regards
Bernhard

6
having an actual qemu would be very nice. I have managed to run OS/2 4/3/2.1, FreeDOS and Windows 95 on our old qemu. networking does not work; with "user" - networking I get IP addresses but I cannot connect to any service; I think something is broken in the network emulation.

best regards
Bernhard

7
Applications / Re: OS/4 (technical details only)
« on: April 07, 2021, 07:59:39 am »
Yes, that's with both kernels (ibm and os4)!

8
Applications / Re: OS/4 (technical details only)
« on: April 06, 2021, 04:47:41 pm »
When killing acpidaemon setproc enables and disables cores like expected. But whithout ascpidaemon running my freece problems are gone. I have tried to disable two of my four cpu cores, becouse I have an application which freezes my quad core machine an does not freeze my dual core machine. And now it seems that the acpidaemon freezes my quadcore machine.

Strange ...

9
Applications / Re: OS/4 (technical details only)
« on: April 05, 2021, 08:59:57 pm »
@Dariusz: the suggested tool is only working without acpi. Without acpi the cores stay disabled. With acpi4.bsd (os4krnl) or with acpi.psd (ibm kernel) the cores disabled by setproc.exe will be enabled immediatly.

@OS4User: yes HT cores are disabled until I use the /HT switch; but I cannot disable physical cores.


10
Applications / Re: OS/4 (technical details only)
« on: April 05, 2021, 02:26:59 pm »
It's an Intel(R) Core(TM) i7-2760QM CPU @ 2.40GHz - Quad Core CPU. I will try to run with only 2 cores because with 4 cores the the system freezes sometimes; with os4 kernel and ibm kernel. And I think with 2 cores it runs more stable - but with os4 kernel I cannot switch off 2 cores.
best regards

11
Applications / Re: OS/4 (technical details only)
« on: April 04, 2021, 07:38:52 pm »
Hallo,
with IBM Kernel we can switch off cpu cores on boot (acpi.psd /maxcpu=2). Is there an equivalent switch for the os4 kernel.
best regards
Bernhard

12
Applications / Re: VirtualBox 5.0.51 networking
« on: February 12, 2021, 04:54:37 pm »
Hi Ivan,

it should be no problem to connect your XP VM to your NAS in your local network. I have ArcaOS 5, with virtualbox 5.0.61. and my Windows XP VM can mount shares on a samba server. In our XP configuration setup networking as NAT (and not NAT-networking), choose as network adapter PCnet-FAST III and check "cable connected". In your Windows XP you have to install the correct driver, and than your VM schould receive 10.0.2.15/24 automatically. Maybe your XP guest cannot resolv the name of your NAS, so use the IP of the NAS or create entrys in the file C:\windows\system32\drivers\etc\hosts. My samba server connection is established with the following command

C:>net use Z:  \\fileserver\home\bernhard /user:openit\bernhard <password>
The command completed successfully

The machine fileserver has the IP 192.168.197.106.

best regards
Bernhard



13
Networking / Re: OpenSSH_7.7p1 tcgetattr: Invalid argument
« on: January 24, 2021, 07:45:06 pm »
Hi Rick,

I have used an openssh wpi package

http://hobbes.nmsu.edu/download/pub/os2/apps/internet/telnet/openssh-5.3p1-bin.zip

which is working well; the openssh packages installed with yum do not work correctly.

best regards
Bernhard

14
Networking / OpenSSH_7.7p1 tcgetattr: Invalid argument
« on: December 03, 2020, 10:24:43 am »
Hi,
I have updated my rpm packages and so openssh-clients version 7.7p1 was installed. This version has some problems:

Code: [Select]
[C:\]ssh -V
OpenSSH_7.7p1, OpenSSL 1.0.2t  10 Sep 2019

[C:\]ssh prometheus
root@prometheus's password:
[b]tcgetattr: Invalid argument[/b]
Last login: Thu Dec  3 08:31:12 2020 from einstein.intern.openit.at
[root@prometheus ~]#
LIBC PANIC!!
_um_free_maybe_lock: Tried to free block twice - block=20034694 lock=0x1
pid=0x0041 ppid=0x003e tid=0x0001 slot=0x0078 pri=0x0200 mc=0x0000 ps=0x0010
C:\USR\BIN\SSH.EXE
Process dumping was disabled, use DUMPPROC / PROCDUMP to enable it.

The external process was cancelled by a Ctrl+Break or another process.

The problem is the line "tcgetattr: Invalid argument". I have an older Version as OpenSSH_5.3p1 as wpi installed; this version does not show the error and is working proper. Is there a solution for version 7.7p1.

best regards


15
Applications / Re: OS/4 (technical details only)
« on: June 18, 2020, 11:10:42 am »
I noticed that new BASEDEV drivers (USB 12.05+) from Arca do not display diagnostic messages when booting with the OS / 4 kernel and not load. Perhaps the problem is only in the driver loader itself. This gives us hope that the problem can be quite easily fixed.

I  have placed an bug report on AN bug tracker. Will see what they are saying. I will post the answer.
 
Bernhard
Modify message

That is the answer from AN:

Quote
Regardless what any other kernel (legal or illegal) may offer, Arca Noae has no intention of providing support for non-Arca Noae kernels.

If the request is that we add support for a feature not currently implemented in the ArcaOS kernel, that is a separate matter, and such requests are accepted for consideration.

As described here, the configuration on your system is completely unsupported by Arca Noae (not just the USB stack).

Our best recommendation is to use a legal, supported kernel, specifically, the one supplied with ArcaOS.

(I, too, use a browser in a box" solution under VBox 1.6 on ArcaOS, which works just fine for running small Linux distros, with Arca Noae kernels 14.200 and 14.201.)

The case is closed by Lewis.

Pages: [1] 2