Date: Wed, 8 Jun 2005 00:05:16 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 563 ************************************************** Tuesday 07 June 2005 Number 563 ************************************************** Subjects for today 1 Re: DVDStyler : Andreas Buening 2 Re: DVDStyler : Dave Yeo" 3 Re: DVDStyler : Paul Smedley 4 Re: DVDStyler - a little progress : Paul Smedley 5 Re: wxWidgets (was: DVDstyler) : Nicholas Sheppard 6 Re: wxWidgets (was: DVDstyler) : Stefan.Neis at t-online.de **= Email 1 ==========================** Date: Mon, 06 Jun 2005 20:26:34 +0200 From: Andreas Buening Subject: Re: DVDStyler Paul Smedley wrote: > [E:\dev\mjpegtools-1.6.2\mplex\.libs]emxexp mplex2.a > emxexp: Malformed input file `mplex2.a' > > Ideas? Not really. If you look at the make output which commands were used to compiler the *.o files in mplex2.a and how mplex2.a was created this might give you a clue. Bye, Andreas **= Email 2 ==========================** Date: Mon, 06 Jun 2005 17:05:42 -0800 From: "Dave Yeo" Subject: Re: DVDStyler On Mon, 06 Jun 2005 20:33:35 +0930, Paul Smedley wrote: >Update.... > >I updated ltmain.sh from Andreas's port of libtool 1.4.3 to OS/2... now >I get: >ash.exe ../libtool --mode=link g++ -mcpu=i586 -march=i586 -g -O2 -o >mplex.exe main.o ../mplex/libmplex2.la -lm >g++ -mcpu=i586 -march=i586 -g -O2 -o mplex.exe main.o >../mplex/.libs/mplex2.a -lm >main.cpp:107 (main.o): Undefined symbol _mjpeg_error_exit1 referenced >from text segment >main.cpp:139 (main.o): Undefined symbol _mjpeg_error_exit1 referenced >from text segment > > > >Thing is - those symbols are present in ../mplex/.libs/mplex2.a > >weird part is that that 'emxexp mplex2.a' that would normally show all >the symbols that are present is showing: >[E:\dev\mjpegtools-1.6.2\mplex\.libs]emxexp mplex2.a >emxexp: Malformed input file `mplex2.a' > >Ideas? Try adding -Zomf to the main Makefile (not the one in lib) Dave **= Email 3 ==========================** Date: Tue, 07 Jun 2005 20:17:28 +0930 From: Paul Smedley Subject: Re: DVDStyler Hi all, Dave Yeo wrote: > On Mon, 06 Jun 2005 20:33:35 +0930, Paul Smedley wrote: > >> Update.... >> >> I updated ltmain.sh from Andreas's port of libtool 1.4.3 to OS/2... now >> I get: >> ash.exe ../libtool --mode=link g++ -mcpu=i586 -march=i586 -g -O2 -o >> mplex.exe main.o ../mplex/libmplex2.la -lm >> g++ -mcpu=i586 -march=i586 -g -O2 -o mplex.exe main.o >> ../mplex/.libs/mplex2.a -lm >> main.cpp:107 (main.o): Undefined symbol _mjpeg_error_exit1 referenced >>from text segment >> main.cpp:139 (main.o): Undefined symbol _mjpeg_error_exit1 referenced >>from text segment >> >> >> Thing is - those symbols are present in ../mplex/.libs/mplex2.a >> >> weird part is that that 'emxexp mplex2.a' that would normally show all >> the symbols that are present is showing: >> [E:\dev\mjpegtools-1.6.2\mplex\.libs]emxexp mplex2.a >> emxexp: Malformed input file `mplex2.a' >> >> Ideas? > > Try adding -Zomf to the main Makefile (not the one in lib) > Dave OK I've done this for all the makefiles that are generated (CFLAGS & LDFLAGS - and also changed ar.exe to emxomfar.exe Now I fail on building mplex2.a: emxomfar.exe cru .libs/mplex2.a ../utils/libmjpegutils.a libmplex2_la-ac3strm_ in.o libmplex2_la-audiostrm_out.o libmplex2_la-bits.o libmplex2_la-buffer.o libmplex2_la-dtsstrm_in.o libmplex2_la-inputstrm.o libmplex2_la-interact.o li bmplex2_la-lpcmstrm_in.o libmplex2_la-mpastrm_in.o libmplex2_la-multiplexor.o libmplex2_la-padstrm.o libmplex2_la-stillsstream.o libmplex2_la-stream_params ..o libmplex2_la-systems.o libmplex2_la-vector.o libmplex2_la-videostrm_in.o libmplex2_la-videostrm_out.o ../utils/libmjpegutils.a emxomfar: .libs/mplex2.a(libmplex2_la-ac3strm_in.o): Record too long Cheers, Paul. **= Email 4 ==========================** Date: Tue, 07 Jun 2005 20:29:21 +0930 From: Paul Smedley Subject: Re: DVDStyler - a little progress Hi Again.... I missed adding -Zomf to CXXFLAGS - now I've hit on.... emxomfar.exe cru .libs/mplex2.a ../utils/libmjpegutils.a libmplex2_la-ac3strm_ in.o libmplex2_la-audiostrm_out.o libmplex2_la-bits.o libmplex2_la-buffer.o libmplex2_la-dtsstrm_in.o libmplex2_la-inputstrm.o libmplex2_la-interact.o li bmplex2_la-lpcmstrm_in.o libmplex2_la-mpastrm_in.o libmplex2_la-multiplexor.o libmplex2_la-padstrm.o libmplex2_la-stillsstream.o libmplex2_la-stream_params ..o libmplex2_la-systems.o libmplex2_la-vector.o libmplex2_la-videostrm_in.o libmplex2_la-videostrm_out.o ../utils/libmjpegutils.a emxomfar: Symbol multiply defined: _mjpeg_log_set_handler A limitation which is fixed in new libc.... but need to resolve now and determine where the second definition is coming from.... hopefuly I'm making progress as all the .a file definitions can now be viewed with emxexp... Thanks for the tips guys... Cheers, Paul. **= Email 5 ==========================** Date: Tue, 7 Jun 2005 21:41:48 +0000 (GMT) From: Nicholas Sheppard Subject: Re: wxWidgets (was: DVDstyler) On Mon, 6 Jun 2005, Paul Smedley wrote: > I'm hoping the OS/2 port of WxWidgets will satisfy item 1 Has anyone had any success with wxOS2 2.6.0? I used to have wxOS2 2.4.1 compiling and linking okay (though it was a beta version and programmes compiled with it didn't always work) but I'm stumped by "exported import" linker errors with 2.6.0. Nick S. **= Email 6 ==========================** Date: Tue, 07 Jun 2005 13:58:19 +0200 (CEST) From: Stefan.Neis at t-online.de Subject: Re: wxWidgets (was: DVDstyler) Nicholas Sheppard schrieb: > but I'm stumped by "exported > import" linker errors with 2.6.0. I've never seen such a message... OMF mode or a.out mode? If OMF, which linker are you using? (I'm using Ilink 5.0, available via a link from http://www.mozilla.org/ports/os2/gccsetup.html) HTH, Stefan