Date: Thu, 6 Jan 2005 00:07:29 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 381 ************************************************** Wednesday 05 January 2005 Number 381 ************************************************** Subjects for today 1 test : spider 2 OpenSSL : John Poltorak 3 Re: OpenSSL : dave bamford 1 Re: OpenSSL : John Poltorak **= Email 1 ==========================** Date: Tue, 04 Jan 2005 16:43:12 +0200 From: spider Subject: test test _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 2 ==========================** Date: Tue, 4 Jan 2005 19:55:39 +0000 From: John Poltorak Subject: OpenSSL If anyone has tried building OpenSSL using UX2BS ? If so you may have encountered this error:- tmp_dll\c_all.obj(c_all.obj) : error L2029: 'ENGINE_setup_openbsd' : unresolved external This only seems to occur when using Posix/2 in the build process. Without it, it builds OK, so I've added openssl to the Posix/2 exclusion list - p2_exc.lst, which you can get if you do a ux2_refresh. If anyone now tries building openssl could you let me know whether it works? At the moment build.table does not contain the most recent version of openssl as it will not build. Anyone curious enough to try the latest version it is welcome to update the openssl entry in build.table so that it uses:- http://www.openssl.org/source/openssl-0.9.7e.tar.gz I'd be interested to know if anyone can get this version built or identify what is causing the build to fail. -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 3 ==========================** Date: Tue, 04 Jan 2005 20:16:49 +0000 From: dave bamford Subject: Re: OpenSSL John Poltorak wrote: >If anyone has tried building OpenSSL using UX2BS ? > >If so you may have encountered this error:- > >tmp_dll\c_all.obj(c_all.obj) : error L2029: 'ENGINE_setup_openbsd' : unresolved external > > >This only seems to occur when using Posix/2 in the build process. Without >it, it builds OK, so I've added openssl to the Posix/2 exclusion list - >p2_exc.lst, which you can get if you do a ux2_refresh. > >If anyone now tries building openssl could you let me know whether it >works? > > >At the moment build.table does not contain the most recent version of >openssl as it will not build. > >Anyone curious enough to try the latest version it is welcome to update >the openssl entry in build.table so that it uses:- > >http://www.openssl.org/source/openssl-0.9.7e.tar.gz > >I'd be interested to know if anyone can get this version built or identify >what is causing the build to fail. > > > > I got openssl-0.9.7e to build but only on GCC 3.2.2. I didn't see the problem you got but I had to change rand-os2.c 2 APIs DosPerfSysCall and DosQuerySysState needed their names changing as they were already declared, but I couldn't get the makefile to Install the libraries. I had to do this manually. I am a newbie to all this. I then deleted the build environment and loaded it from scratch then did a sucessful build openssl which built the vanilla 0.9.7 which I am now using. I am trying to port an application called boxbackup http://www.fluffy.co.uk but have run up against a problem someone might be able to help me with. It requires a poll routine which OS/2 does not have AFAIK but there is an emulator here http://www.clapper.org/software/poll/ But I can't get the makefile to work. I changed cc to gcc and it didn't understand the -shared option so I changed it to --enable-shared... now I get this epm: D:\poll\poll-emulator-1.4 >make gcc -c -fPIC poll.c -o poll.po gcc --enable-shared -o libpoll.so.1.3 poll.po {standard input}:29 (D:/gcc/lib/crt0.o): Undefined symbol _main referenced from text segment poll.po: Undefined symbol __GLOBAL_OFFSET_TABLE_ referenced from text segment poll.po: Undefined symbol LC0 at GOTOFF referenced from text segment poll.po: Undefined symbol LC1 at GOTOFF referenced from text segment poll.po: Undefined symbol __assert at PLT referenced from text segment poll.po: Undefined symbol __GLOBAL_OFFSET_TABLE_ referenced from text segment poll.po: Undefined symbol _memset at PLT referenced from text segment poll.po: Undefined symbol _memset at PLT referenced from text segment poll.po: Undefined symbol _memset at PLT referenced from text segment poll.po: Undefined symbol LC0 at GOTOFF referenced from text segment poll.po: Undefined symbol LC2 at GOTOFF referenced from text segment poll.po: Undefined symbol __assert at PLT referenced from text segment poll.po: Undefined symbol _select at PLT referenced from text segment make: *** [libpoll.so.1.3] Error 1 Any Help would ba appreciated. Thanks Dave Bamford. _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 1 ==========================** Date: Tue, 4 Jan 2005 20:55:48 +0000 From: John Poltorak Subject: Re: OpenSSL On Tue, Jan 04, 2005 at 08:16:49PM +0000, dave bamford wrote: > I got openssl-0.9.7e to build but only on GCC 3.2.2. At this point in time UX2BS only supports gcc 2.8.1, although in due course it is hoped that everything can be migrated to 3.3.5, but a number of apps, particularly PERL need to be buildable in that environment first. > I didn't see the > problem you > got but I had to change rand-os2.c 2 APIs DosPerfSysCall and > DosQuerySysState > needed their names changing as they were already declared, but I > couldn't get the > makefile to Install the libraries. I had to do this manually. > I am a newbie to all this. I then deleted the build environment and > loaded it from > scratch then did a sucessful build openssl which built the vanilla 0.9.7 > which I am > now using. That's strange since I installed everything from scratch yesterday and wasn't able to build v0.9.7 until I made the change mentioned. > I am trying to port an application called boxbackup > http://www.fluffy.co.uk but have run up > against a problem someone might be able to help me with. It requires a > poll routine > which OS/2 does not have AFAIK but there is an emulator here > http://www.clapper.org/software/poll/ > But I can't get the makefile to work. I changed cc to gcc and it didn't > understand the > -shared option so I changed it to --enable-shared... now I get this > > epm: D:\poll\poll-emulator-1.4 >make > gcc -c -fPIC poll.c -o poll.po > gcc --enable-shared -o libpoll.so.1.3 poll.po > make: *** [libpoll.so.1.3] Error 1 > > Any Help would ba appreciated. I'd suggest you take this problem to the os2-unix mailing list where you are more likely to find help. This list is mainly concerned with finding a standard, automated way of building apps which are already known to work on OS/2. You can subscribe to that list using the following link:- mailto:os2-unix-request at warpix.org?body=subscribe > Thanks > > Dave Bamford. -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs