Date: Fri, 2 Jan 2004 00:07:06 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 251 ************************************************** Thursday 01 January 2004 Number 251 ************************************************** Subjects for today 1 UX2BS Digest, Vol 11, Issue 10 : ux2bs-request at os2ports.com 2 UX2BS Digest, Vol 11, Issue 11 : ux2bs-request at os2ports.com **= Email 1 ==========================** Date: Tue, 30 Dec 2003 12:00:04 GMT From: ux2bs-request at os2ports.com Subject: UX2BS Digest, Vol 11, Issue 10 Send UX2BS mailing list submissions to ux2bs at os2ports.com To subscribe or unsubscribe via the World Wide Web, visit http://os2ports.com/mailman/listinfo/ux2bs or, via email, send a message with subject or body 'help' to ux2bs-request at os2ports.com You can reach the person managing the list at ux2bs-owner at os2ports.com When replying, please edit your Subject line so it is more specific than "Re: Contents of UX2BS digest..." Today's Topics: 1. building libpng (Adrian Gschwend) 2. Re: building libpng (Henry Sobotka) 3. Re: building libpng (Dave and Natalie) 4. Re: building libpng (John Poltorak) 5. Any new UX2BS testers? (John Poltorak) 6. Re: building libpng (Henry Sobotka) 7. Re: building libpng (John Poltorak) 8. Re: building libpng (John Poltorak) ---------------------------------------------------------------------- Message: 1 Date: Mon, 29 Dec 2003 22:05:56 +0100 (CET) From: "Adrian Gschwend" Subject: building libpng To: "ux2bs" Message-ID: <200312291557.hBTFvgJK016222 at mail.os2ports.com> Content-Type: text/plain; charset="iso-8859-1" Hi guys, I try to build webalizer, to do that I need zlib, libpng and gd. zlib does build but I don't have a zlib.dll, then libpng fails because of unresolved externals which would be in zlib.dll. --- LINK386 : warning L4051: zdll.lib : cannot find library pngwutil.o(pngwutil.o) : error L2029: 'deflateReset' : unresolved external pngpread.o(pngpread.o) : error L2029: 'inflateReset' : unresolved external pngrutil.o(pngrutil.o) : error L2029: 'inflateReset' : unresolved external png.o(png.o) : error L2029: 'inflateReset' : unresolved external pngread.o(pngread.o) : error L2029: 'inflateInit_' : unresolved external pngwutil.o(pngwutil.o) : error L2029: 'deflateInit2_' : unresolved external png.o(png.o) : error L2029: 'crc32' : unresolved external pngwrite.o(pngwrite.o) : error L2029: 'deflate' : unresolved external pngwutil.o(pngwutil.o) : error L2029: 'deflate' : unresolved external pngpread.o(pngpread.o) : error L2029: 'inflate' : unresolved external pngread.o(pngread.o) : error L2029: 'inflate' : unresolved external pngrutil.o(pngrutil.o) : error L2029: 'inflate' : unresolved external pngwrite.o(pngwrite.o) : error L2029: 'deflateEnd' : unresolved external pngread.o(pngread.o) : error L2029: 'inflateEnd' : unresolved external --- what can I do? cu Adrian -- Adrian Gschwend at netlabs.org ktk [a t] netlabs.org ------- Free Software for OS/2 and eCS http://www.netlabs.org ------------------------------ Message: 2 Date: Mon, 29 Dec 2003 17:01:11 -0500 From: Henry Sobotka Subject: Re: building libpng To: Adrian Gschwend , UX2 Build System Message-ID: <3FF0A427.F3A at axess.com> Content-Type: text/plain; charset=us-ascii Adrian Gschwend wrote: > > LINK386 : warning L4051: zdll.lib : cannot find library [SNIP] > what can I do? Put zdll.lib in a directory in LIBRARY_PATH, or add the location of zdll.lib to LIBRARY_PATH, or when linking use -L[path to zdll.lib] -lzdll. h~ ------------------------------ Message: 3 Date: Mon, 29 Dec 2003 15:12:54 -0800 From: "Dave and Natalie" Subject: Re: building libpng To: "UX2 Build System" Message-ID: <20031229231637.9A5D7B8317 at joseph.ncoldns.com> Content-Type: text/plain; charset="us-ascii" On Mon, 29 Dec 2003 22:05:56 +0100 (CET), Adrian Gschwend wrote: >Hi guys, > >I try to build webalizer, to do that I need zlib, libpng and gd. > >zlib does build but I don't have a zlib.dll, then libpng fails because >of unresolved externals which would be in zlib.dll. > >--- >LINK386 : warning L4051: zdll.lib : cannot find library > >pngwutil.o(pngwutil.o) : error L2029: 'deflateReset' : unresolved >external >pngpread.o(pngpread.o) : error L2029: 'inflateReset' : unresolved >external >pngrutil.o(pngrutil.o) : error L2029: 'inflateReset' : unresolved >external >png.o(png.o) : error L2029: 'inflateReset' : unresolved external >pngread.o(pngread.o) : error L2029: 'inflateInit_' : unresolved >external >pngwutil.o(pngwutil.o) : error L2029: 'deflateInit2_' : unresolved >external >png.o(png.o) : error L2029: 'crc32' : unresolved external >pngwrite.o(pngwrite.o) : error L2029: 'deflate' : unresolved external >pngwutil.o(pngwutil.o) : error L2029: 'deflate' : unresolved external >pngpread.o(pngpread.o) : error L2029: 'inflate' : unresolved external >pngread.o(pngread.o) : error L2029: 'inflate' : unresolved external >pngrutil.o(pngrutil.o) : error L2029: 'inflate' : unresolved external >pngwrite.o(pngwrite.o) : error L2029: 'deflateEnd' : unresolved >external >pngread.o(pngread.o) : error L2029: 'inflateEnd' : unresolved external >--- > > >what can I do? Which makefiles are you using? Dave New Email Address - please update your Address book dave_yeo at paralynx.com ------------------------------ Message: 4 Date: Tue, 30 Dec 2003 01:55:19 +0000 From: John Poltorak Subject: Re: building libpng To: UX2 Build System Message-ID: <20031230015519.X81 at warpix.org> Content-Type: text/plain; charset=us-ascii On Mon, Dec 29, 2003 at 05:01:11PM -0500, Henry Sobotka wrote: > Adrian Gschwend wrote: > > > > LINK386 : warning L4051: zdll.lib : cannot find library > > [SNIP] > > > what can I do? > > Put zdll.lib in a directory in LIBRARY_PATH, or add the location of > zdll.lib to LIBRARY_PATH, or when linking use -L[path to zdll.lib] > -lzdll. What makes you think a zdll.lib gets built? The problem with ZLIB is that no one is prepared to take ownership of the OS/2 version so we have lots of independently maintained versions instead of having a genuine OS/2 port which can be built from the distributable source. It would be nice if someone could delare themselves as the OS/2 maintainer and ensure any OS/2 requirements were incorporated into the official source. > > h~ -- John ------------------------------ Message: 5 Date: Tue, 30 Dec 2003 02:12:50 +0000 From: John Poltorak Subject: Any new UX2BS testers? To: ux2bs at os2ports.com Message-ID: <20031230021250.Z81 at warpix.org> Content-Type: text/plain; charset=us-ascii Has anyone given UX2BS a try recently? There doesn't seem to have been much progress over the last month or so. It would be nice to get some of the basic apps built reliably, in particular GETTEXT which I think is a major stumbling block and isn't getting built properly. -- John ------------------------------ Message: 6 Date: Mon, 29 Dec 2003 22:07:45 -0500 From: Henry Sobotka Subject: Re: building libpng To: UX2 Build System Message-ID: <3FF0EC01.7B6B at axess.com> Content-Type: text/plain; charset=us-ascii John Poltorak wrote: > > What makes you think a zdll.lib gets built? Adrian wrote: > zlib does build and he must have named it zdll.lib and specified that for linkage or else the linker wouldn't be looking for zdll.lib. Or automake or whatever generated the name "zdll.lib" from "TARGET=z.dll" or some such. Normally it's named libz.[a|lib] or (for -lz) z.[a|lib]. h~ ------------------------------ Message: 7 Date: Tue, 30 Dec 2003 10:11:40 +0000 From: John Poltorak Subject: Re: building libpng To: UX2 Build System Message-ID: <20031230101140.A81 at warpix.org> Content-Type: text/plain; charset=us-ascii On Mon, Dec 29, 2003 at 10:07:45PM -0500, Henry Sobotka wrote: > John Poltorak wrote: > > > > What makes you think a zdll.lib gets built? > > Adrian wrote: > > > zlib does build > > and he must have named it zdll.lib and specified that for linkage or > else the linker wouldn't be looking for zdll.lib. I don't have any references to a zdll.lib in my zlib. Is it LIBPNG that requires such a file? > Or automake or > whatever generated the name "zdll.lib" from "TARGET=z.dll" or some such. > Normally it's named libz.[a|lib] or (for -lz) z.[a|lib]. > > h~ -- John ------------------------------ Message: 8 Date: Tue, 30 Dec 2003 10:18:24 +0000 From: John Poltorak Subject: Re: building libpng To: ux2bs Message-ID: <20031230101824.B81 at warpix.org> Content-Type: text/plain; charset=us-ascii On Mon, Dec 29, 2003 at 10:05:56PM +0100, Adrian Gschwend wrote: > Hi guys, > > I try to build webalizer, to do that I need zlib, libpng and gd. > > zlib does build but I don't have a zlib.dll, then libpng fails because > of unresolved externals which would be in zlib.dll. Which LIBPNG are you trying to build? > > Adrian > > > -- > Adrian Gschwend > at netlabs.org > > ktk [a t] netlabs.org > ------- > Free Software for OS/2 and eCS > http://www.netlabs.org -- John ------------------------------ _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs End of UX2BS Digest, Vol 11, Issue 10 ************************************* **= Email 2 ==========================** Date: Wed, 31 Dec 2003 12:00:03 GMT From: ux2bs-request at os2ports.com Subject: UX2BS Digest, Vol 11, Issue 11 Send UX2BS mailing list submissions to ux2bs at os2ports.com To subscribe or unsubscribe via the World Wide Web, visit http://os2ports.com/mailman/listinfo/ux2bs or, via email, send a message with subject or body 'help' to ux2bs-request at os2ports.com You can reach the person managing the list at ux2bs-owner at os2ports.com When replying, please edit your Subject line so it is more specific than "Re: Contents of UX2BS digest..." Today's Topics: 1. Re: building libpng (Adrian Gschwend) 2. Re: Any new UX2BS testers? (Adrian Gschwend) 3. lib vs. dll (was: Re: [UnixOS2] Pine problem) (Adrian Gschwend) 4. Re: building libpng (Dave and Natalie) 5. Re: lib vs. dll (was: Re: [UnixOS2] Pine problem) (Henry Sobotka) 6. Re: Any new UX2BS testers? (John Poltorak) 7. Re: building libpng (John Poltorak) 8. Re: building libpng (John Poltorak) 9. Re: pthreads (Dave and Natalie) 10. Re: Any new UX2BS testers? (Dave and Natalie) 11. Re: building libpng (Dave and Natalie) ---------------------------------------------------------------------- Message: 1 Date: Tue, 30 Dec 2003 22:14:49 +0100 (CET) From: "Adrian Gschwend" Subject: Re: building libpng To: "UX2 Build System" Message-ID: <200312301606.hBUG6aJK017175 at mail.os2ports.com> Content-Type: text/plain; charset="iso-8859-1" On Mon, 29 Dec 2003 17:01:11 -0500, Henry Sobotka wrote: Hi all, I try to summarize a bit and answer all the questions in one email :-) >From Henry: >Put zdll.lib in a directory in LIBRARY_PATH, or add the location of >zdll.lib to LIBRARY_PATH, or when linking use -L[path to zdll.lib] >-lzdll. There is none, looks like it didn't get built (zdll.lib I mean) >From Dave: >Which makefiles are you using? makefile.os2 and pngos2.def from the scripts directory. >From John: >What makes you think a zdll.lib gets built? Good question, the "build zlib" command didn't complain so I simply thought everything is fine. But now I see that zdll.lib is missing so I start to doubt :-) >The problem with ZLIB is that no one is prepared to take ownership of the >OS/2 version so we have lots of independently maintained versions instead >of having a genuine OS/2 port which can be built from the distributable >source. hmm zlib can't be that difficult to port, can it? I mean it actually doesn't do that much (well I say that without reading the source of it, I hope I'm right ;) >It would be nice if someone could delare themselves as the OS/2 maintainer >and ensure any OS/2 requirements were incorporated into the official >source. Yes that's the way to go in general IMHO. And I'm trying to build libpng-1.2.5 cu Adrian -- Adrian Gschwend at netlabs.org ktk [a t] netlabs.org ------- Free Software for OS/2 and eCS http://www.netlabs.org ------------------------------ Message: 2 Date: Tue, 30 Dec 2003 22:19:58 +0100 (CET) From: "Adrian Gschwend" Subject: Re: Any new UX2BS testers? To: "UX2 Build System" Cc: Knut Stange Osmundsen Message-ID: <200312301611.hBUGBfJK017196 at mail.os2ports.com> Content-Type: text/plain; charset="iso-8859-1" On Tue, 30 Dec 2003 02:12:50 +0000, John Poltorak wrote: >Has anyone given UX2BS a try recently? well I have several things that I would like to have on OS/2 so I will definitely try some stuff the next weeks, as you can see with webalizer :-) >There doesn't seem to have been much progress over the last month or so. We really have to make sure that the basic libs are compiling. I rebuild a /usr/local on our Solaris boxes at our university and I see now which libs are required for many apps. Would a list of the stuff I compiled help? We could start at the top of it and go step by step further. If something doesn't build (and if it's essential) we should invest some time to get it to work, otherwise we won't reach our goal in the near future (and we should really try to reach that...) >It would be nice to get some of the basic apps built reliably, in >particular GETTEXT which I think is a major stumbling block and isn't >getting built properly. Knut told me he is working on it, also on libiconv. He does that also for the new gcc compiler (remember, he is working for Innotek, even if he does a lot of this stuff in his sparetime :-). Also he is working on an up to date version of automake, autoconf and libtool (IIRC). I will keep you up to date cu Adrian -- Adrian Gschwend at netlabs.org ktk [a t] netlabs.org ------- Free Software for OS/2 and eCS http://www.netlabs.org ------------------------------ Message: 3 Date: Tue, 30 Dec 2003 22:26:17 +0100 (CET) From: "Adrian Gschwend" Subject: lib vs. dll (was: Re: [UnixOS2] Pine problem) To: "ux2bs" , "os2-unix at mail.warpix.org" Cc: knut Message-ID: <200312301618.hBUGI1JK017218 at mail.os2ports.com> Content-Type: text/plain; charset="iso-8859-1" On Tue, 30 Dec 2003 14:35:14 -0500, Henry Sobotka wrote: >This looks like a variant of yesterday's "zdll.lib" problem. Might be >code for Win32 adding [_]dll to library names. can someone explain me the main difference between lib and dll? To be honest I don't really get the difference between that. On Unix systems I have the *.so files, what's the main difference to OS/2 DLL's and what should we use for UX2BS (and unixos2 in general)? cu Adrian -- Adrian Gschwend at netlabs.org ktk [a t] netlabs.org ------- Free Software for OS/2 and eCS http://www.netlabs.org ------------------------------ Message: 4 Date: Tue, 30 Dec 2003 13:59:48 -0800 From: "Dave and Natalie" Subject: Re: building libpng To: "UX2 Build System" Message-ID: <20031230220401.E8FDBB77A1 at joseph.ncoldns.com> Content-Type: text/plain; charset="us-ascii" On Tue, 30 Dec 2003 22:14:49 +0100 (CET), Adrian Gschwend wrote: >>From Dave: >>Which makefiles are you using? >makefile.os2 and pngos2.def from the scripts directory. I'll send Adrian some makefiles and defs to see if it will help Dave New Email Address - please update your Address book dave_yeo at paralynx.com ------------------------------ Message: 5 Date: Tue, 30 Dec 2003 17:32:48 -0500 From: Henry Sobotka Subject: Re: lib vs. dll (was: Re: [UnixOS2] Pine problem) To: Adrian Gschwend , UX2 Build System Message-ID: <3FF1FD10.2CB at axess.com> Content-Type: text/plain; charset=us-ascii Adrian Gschwend wrote: > > can someone explain me the main difference between lib and dll? To be > honest I don't really get the difference between that. On Unix systems > I have the *.so files, what's the main difference to OS/2 DLL's and > what should we use for UX2BS (and unixos2 in general)? On OS/2 there are two kinds of .lib files: static libraries built by feeding a set of object files to emxomfar, and import libraries created by feeding emximp a .def file. The first kind is the counterpart of UNIX libs. The second goes with the DLL created with the same .def file, and essentially lists the DLL's exports for linkage purposes. To link with a DLL, all you need is its import .lib; the DLL itself is only required at runtime (and the import .lib is no longer needed). Unix *.so files are basically the counterpart of DLLs. Which to use really depends on the code. If a program only calls one or two small functions in a large DLL, it's probably more efficient to link with the DLL's corresponding static library. It's a matter of weighing the cost of loading the DLL against that of increasing the size of your program while possibly gaining speed, and can only be decided case-by-case. h~ ------------------------------ Message: 6 Date: Tue, 30 Dec 2003 22:38:20 +0000 From: John Poltorak Subject: Re: Any new UX2BS testers? To: UX2 Build System , Knut Stange Osmundsen Message-ID: <20031230223820.G81 at warpix.org> Content-Type: text/plain; charset=us-ascii On Tue, Dec 30, 2003 at 10:19:58PM +0100, Adrian Gschwend wrote: > Knut told me he is working on it, also on libiconv. He does that also > for the new gcc compiler (remember, he is working for Innotek, even if > he does a lot of this stuff in his sparetime :-). Also he is working on > an up to date version of automake, autoconf and libtool (IIRC). I will > keep you up to date What is the point of producing new versions of automake and autoconf since they already work straight out of the box on OS/2? Maybe libtool does too, although I've never figured out how to use it... > cu > > Adrian > > > -- > Adrian Gschwend > at netlabs.org > > ktk [a t] netlabs.org > ------- > Free Software for OS/2 and eCS > http://www.netlabs.org -- John ------------------------------ Message: 7 Date: Tue, 30 Dec 2003 22:41:44 +0000 From: John Poltorak Subject: Re: building libpng To: UX2 Build System Message-ID: <20031230224144.H81 at warpix.org> Content-Type: text/plain; charset=us-ascii On Tue, Dec 30, 2003 at 01:59:48PM -0800, Dave and Natalie wrote: > On Tue, 30 Dec 2003 22:14:49 +0100 (CET), Adrian Gschwend wrote: > > >>From Dave: > >>Which makefiles are you using? > >makefile.os2 and pngos2.def from the scripts directory. > > I'll send Adrian some makefiles and defs to see if it will help > Dave Any chance of letting me have them as well, since I'd like to incorporate them into UX2BS. > New Email Address - please update your Address book > dave_yeo at paralynx.com -- John ------------------------------ Message: 8 Date: Tue, 30 Dec 2003 23:03:07 +0000 From: John Poltorak Subject: Re: building libpng To: UX2 Build System Message-ID: <20031230230307.I81 at warpix.org> Content-Type: text/plain; charset=us-ascii On Tue, Dec 30, 2003 at 10:14:49PM +0100, Adrian Gschwend wrote: > >The problem with ZLIB is that no one is prepared to take ownership of the > >OS/2 version so we have lots of independently maintained versions instead > >of having a genuine OS/2 port which can be built from the distributable > >source. > > hmm zlib can't be that difficult to port, can it? I mean it actually > doesn't do that much (well I say that without reading the source of it, > I hope I'm right ;) It's not so much the source code as producing and maintaining a Makefile which produces the correct files in the correct format with the correct names to satisfy all interested parties. > >It would be nice if someone could delare themselves as the OS/2 maintainer > >and ensure any OS/2 requirements were incorporated into the official > >source. > > Yes that's the way to go in general IMHO. The only problem is getting someone to actually take on the position. > And I'm trying to build libpng-1.2.5 An older version used to build without any problem. I wonder what might have changed... > > cu > > Adrian > > > -- > Adrian Gschwend > at netlabs.org > > ktk [a t] netlabs.org > ------- > Free Software for OS/2 and eCS > http://www.netlabs.org -- John ------------------------------ Message: 9 Date: Tue, 30 Dec 2003 14:36:00 -0800 From: "Dave and Natalie" Subject: Re: pthreads To: "UX2 Build System" Message-ID: <20031231024407.455D8B7E82 at joseph.ncoldns.com> Content-Type: text/plain; charset="us-ascii" On Sat, 13 Dec 2003 14:15:24 +0000, John Poltorak wrote: >> > It looks as I'll need to add pthreads to UX2BS at some time. >> > >> > Where do I find the most recent version? >> >> Netlabs, AFAIK (ftp://ftp.netlabs.org/pub/pthreads). > >Is anyone able to do anything with any of the archives there? > >There appears to be something wrong with them. I managed to unzip 2 of the files. pthread-bjs-src.zip and pthread-bjs-bin.zip. The source file had to be handled on the commandline as fc2 had problems Dave New Email Address - please update your Address book dave_yeo at paralynx.com New Email Address - please update your Address book dave_yeo at paralynx.com ------------------------------ Message: 10 Date: Tue, 30 Dec 2003 23:34:15 -0800 From: "Dave and Natalie" Subject: Re: Any new UX2BS testers? To: "John Poltorak" , "Knut Stange Osmundsen" , "UX2 Build System" Message-ID: <20031231073758.305A9B7404 at joseph.ncoldns.com> Content-Type: text/plain; charset="us-ascii" On Tue, 30 Dec 2003 22:38:20 +0000, John Poltorak wrote: >On Tue, Dec 30, 2003 at 10:19:58PM +0100, Adrian Gschwend wrote: > >> Knut told me he is working on it, also on libiconv. He does that also >> for the new gcc compiler (remember, he is working for Innotek, even if >> he does a lot of this stuff in his sparetime :-). Also he is working on >> an up to date version of automake, autoconf and libtool (IIRC). I will >> keep you up to date > >What is the point of producing new versions of automake and autoconf since >they already work straight out of the box on OS/2? > >Maybe libtool does too, although I've never figured out how to use it... > > Autoconf and automake work pretty well here though configure has a problem finding the X libs and Headers when using Innoteks gcc 3.22. This can be worked around by passing configure the locations of the X libs and headers. Libtool works quite well for producing static libs but I've only had one DLL successfully built by libtool, libiconv 1.8. Usually libtool complains about not being able to build DLLs on OS/2 due to OS/2 not supporting unresolved symbols. I don't really know if OS/2 does support unresolved symbols. Dave New Email Address - please update your Address book dave_yeo at paralynx.com New Email Address - please update your Address book dave_yeo at paralynx.com ------------------------------ Message: 11 Date: Tue, 30 Dec 2003 23:34:40 -0800 From: "Dave and Natalie" Subject: Re: building libpng To: "UX2 Build System" Message-ID: <20031231073825.E53FAB7E14 at joseph.ncoldns.com> Content-Type: text/plain; charset="us-ascii" install Mail::SpamAssassinOn Tue, 30 Dec 2003 22:41:44 +0000, John Poltorak wrote: >On Tue, Dec 30, 2003 at 01:59:48PM -0800, Dave and Natalie wrote: >> On Tue, 30 Dec 2003 22:14:49 +0100 (CET), Adrian Gschwend wrote: >> >> >>From Dave: >> >>Which makefiles are you using? >> >makefile.os2 and pngos2.def from the scripts directory. >> >> I'll send Adrian some makefiles and defs to see if it will help >> Dave > >Any chance of letting me have them as well, since I'd like to incorporate >them into UX2BS. I'm still working on them. Unluckily I don't know enough about creating DLLs on OS/2 yet. I would like to maintain backwards compatibility if possible. And if not possible I would like to do it right so in the future compatibility can be maintained. Dave New Email Address - please update your Address book dave_yeo at paralynx.com New Email Address - please update your Address book dave_yeo at paralynx.com ------------------------------ _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs End of UX2BS Digest, Vol 11, Issue 11 *************************************