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.


Topics - R.M. Klippstein

Pages: 1 2 [3]
31
Programming / Need help patching SDL
« on: October 15, 2014, 10:38:09 pm »
I've downloaded SDL-1.2.10-bin-20060602.zip and unzipped it into D:\tools\os2.x86\libsdl. This gives me the following directorie in D:\tools\os2.x86\libsdl: SDL, SDLGfx, SDLImage, SDLMixer, SDLNet, SDLTTF & readme.txt. I need to apply the following patch (diff?) to SDL I don't know how to accomplish this. Thanks much to anybody that can give me a fairly detailed description of how todo this.

klipp

diff -rwu SDL/include/SDL_audio.h D:/coding/vbox/svn/trunk/tools/os2.x86/libsdl/v1.2.10-20060602/SDL/include/SDL_audio.h
--- SDL/include/SDL_audio.h   Mon May  1 03:03:00 2006
+++ D:/coding/vbox/svn/trunk/tools/os2.x86/libsdl/v1.2.10-20060602/SDL/include/SDL_audio.h   Sat Jan 13 06:47:04 2007
@@ -76,6 +76,8 @@
 #define AUDIO_S16SYS   AUDIO_S16MSB
 #endif
 
+/* A filter callback */
+typedef void (SDLCALL * SDL_AudioCVTFilterCall)(struct SDL_AudioCVT *cvt, Uint16 format);
 
 /* A structure to hold a set of audio conversion filters and buffers */
 typedef struct SDL_AudioCVT {
@@ -88,7 +90,7 @@
    int    len_cvt;         /* Length of converted audio buffer */
    int    len_mult;      /* buffer must be len*len_mult big */
    double len_ratio;    /* Given len, final size is len*len_ratio */
-   void (SDLCALL *filters[10])(struct SDL_AudioCVT *cvt, Uint16 format);
+   SDL_AudioCVTFilterCall filters[10];
    int filter_index;      /* Current audio conversion function */
 } SDL_AudioCVT;
 
diff -rwu SDL/include/SDL_config_os2.h D:/coding/vbox/svn/trunk/tools/os2.x86/libsdl/v1.2.10-20060602/SDL/include/SDL_config_os2.h
--- SDL/include/SDL_config_os2.h   Mon May  1 03:03:00 2006
+++ D:/coding/vbox/svn/trunk/tools/os2.x86/libsdl/v1.2.10-20060602/SDL/include/SDL_config_os2.h   Sat Jan 13 06:44:38 2007
@@ -27,6 +27,9 @@
 
 /* This is a set of defines to configure the SDL features */
 
+#ifdef __GNUC__
+# include <stdint.h>
+#else
 typedef signed char         int8_t;
 typedef unsigned char       uint8_t;
 typedef signed short        int16_t;
@@ -37,6 +40,7 @@
 typedef unsigned long       uintptr_t;
 typedef signed long long    int64_t;
 typedef unsigned long long  uint64_t;
+#endif
 
 #define SDL_HAS_64BIT_TYPE   1
 


32
Programming / compiling glib-2.36.4 & libidl-0.8.14 -- need help
« on: September 17, 2014, 12:47:35 am »
I'm trying to compile glib and libidl using both gcc 332 & (or) gcc335 and I'm getting malformed input file error. This is obviously something I'm doing wrong. I have no problems compiling in gcc using kmk, but these sources (glib & libidl) apparently don't use kmk. Years ago I compiled using "ash" but looks like that is no longer an option. Could someone please straighten me out as to how to do this?

thanks  klipp

33
Programming / Compiling XPCOM (xpidl) fails -- need help!
« on: June 23, 2014, 05:38:28 am »
When compiling XPCOM it "craps out" when it gets to compiling XPIDL. Its looking for xpidl.o and there is no such file in the source or any other place I've searched. Anybody know where I can find xpidl.o? It looks like XPIDL could be replaced with PYXPIDL but I have no idea how a person would initiate this change in XPCOM. Thanks in advance for any ideas on how to solve this.

klipp

34
Programming / QT Question
« on: June 04, 2014, 05:30:04 am »
I have QT4 installed on 2.2 beta2. Now I need to compile  a package that needs QT3 (Headers) installed. Question is, Can I have both QT4 and QT3 installed at the same time?

thanks,  klipp

35
Programming / How to specify wlink as linker for gcc?
« on: May 29, 2014, 01:38:29 am »
I'm using Paul's gcc 3.3.5 and 4.8.2, I need to use wlink but can't seem to figure out how to get gcc to use it (wl.exe and its included patch). I need to set EMXOMFLD_LINKER=wl.exeand EMXOMFLD_TYPE=WLINK -- do I do this as a SET command in config.sys or enter it using wl.exe at its prompt?
Thanks for any help.  klipp

36
Applications / VirtualBox and Skype problem
« on: May 22, 2014, 01:51:30 am »
I've got XP installed in VirtualBox 1.6.1_ose and Skype installed in XP and Skype works except for sound. Turns out this version of VirtualBox when installed in eCS (beta ll) will not allow sound to work as the only option available for sound is "null" which allows recognicion of the Soundblaster driver but won't allow sound to evolve. Does anyone know of a fix for this or is it necessary to use a much newer version of VirtualBox? It probably will need a newer version of VirtualBox and then the question is -- is there any work being done to upgrade VirtualBox? The sources are available.
Thanks for any available info.

klipp

37
Hardware / PCI Parallel Port card install -- need info
« on: February 12, 2014, 03:46:53 am »
I need to install a PCI Parallel card on a newer quad core M.B. that has no parallel port. It looks like I need to do it one of two different ways, or possibly both. Steven Levine posted a way which said to download compci.zip from the eCS site. Right now it looks like the beta zone is unreachable as well as the bug reporting site. So the other way was also posted by Mr. Levine and said to download Viet's pci049vkd.zip from hobbes (which I have done, but not installed as yet).  Which of these methods would be best to try with eCS 2.2bii or is there some additional way of accomplishing this included in eCS?
Has anyone done this lately?

thanks   klipp

38
Applications / Samba -- Can't make it work!
« on: February 08, 2014, 04:00:34 am »
I finally got a Xerox printer to work with eCS, now I need to share it with three other eCS/OS2 boxes on a lan. So I've installed Samba Version 3.3.16-eCS 1.1.4-804 on the machine with the printer, running eCS 2.1. It installed fine and both NMBD & SMBD is running but thats as good as it gets! Anything I try to do gives "SYS0065: Network access is denied." Trying to log on as a user -- Root, guest or other user & password entries throws the same error, "Find SMB/CIFS machines" finds no machines as long as all boxes are running eCS. But with one box booted to SuSE 12.2 it see's that machine as well as the eCS boxes. But trying to do anything with the server box gives the "Network access is denied" error.
  Is it possible there are problems with the veraion of Samba I'm using or more likely problem with me?¿?!
  Thanks for any comments.

klipp

39
Web applications / Ungodly slow localhost search
« on: February 06, 2014, 02:56:13 am »
Is there a way of speeding up the localhost searches when using CUPS to modify printer settings. On a system with 4 processors and 2 gb memory I get "waiting for localhost" and wait 3 to 4 minutes as well as the same wait when "transferring data from localhost"?
Thanks for any input!

klipp

40
Hardware / Boot 2.2 beta .iso from a USB memory stick?
« on: December 21, 2013, 05:35:33 pm »
Is there a way to boot the 2.2 beta from a memory stick? I've tried doing it with Dfsee's "create bootable USB stick" option but can't get it to load the eCS beta .iso.
I'm looking for a way to install the beta on a couple of older boxes that don't have a DVD drive, only CD Drive and functional USB.

Thanks for any ideas   klipp

41
General Discussion / OS/2 Warp News and Rumors--R.I.P.?
« on: October 22, 2013, 08:32:07 pm »
Have we lost this First Rate source for OS/2-eCS information? I hope its just me, using a outdatted URL!

42
Applications / CUPS --- Need a filter for Samsung CLP-365w
« on: June 13, 2013, 03:46:03 am »
I'm trying to make cups work with my Samsung 365w. I got the PPD file from the Samsung install in Linux also got the "rastertosamsungsplc" file which needs to be made into rastertosamsungsplc.exe for the printer to work in eCS. Does anyone know where I can download the executable version of rastertosamsungsplc? Or how I can make the lunix version an executable?
Thanks for any ideas.

klipp

43
Setup & Installation / WSEB & X3650 -- need help!
« on: April 21, 2013, 01:51:46 am »
A customer sent me a IBM X3650 (7979) Server and wants it configured with WSEB! Is this possible? As far as I can tell the Adaptec AIC-9580W storage controller is not supported by WSEB. Does anybody have any ideas how I can make this work for this customer? Any suggestions would really be appreciated, Thanks!

klipp

Pages: 1 2 [3]