Groups | Search | Server Info | Login | Register
Groups > comp.os.os2.programmer.porting > #230
| Date | 2013-06-03 23:50 -0700 |
|---|---|
| From | Dave Yeo <dave.r.yeo@gmail.com> |
| Newsgroups | comp.os.os2.programmer.porting |
| Subject | Re: Problems building unzip 6.10b |
| References | <kodd9t$2fhs$1@adenine.netfront.net> <51aab7c9$0$1639$c3e8da3$5d8fb80f@news.astraweb.com> <kojqea$8bu$1@adenine.netfront.net> |
| Message-ID | <51ad8e39$0$31577$c3e8da3$cc4fe22d@news.astraweb.com> (permalink) |
| Organization | Unlimited download news at news.astraweb.com |
Lewis Rosenthal wrote: > Okay, so here's my progress: > > I was able to build it - once - (thanks again, so much, Dave). > > However, after cleaning everything out and starting over, I get (watch > the line breaks - I've added "\" where I saw them): > > # make -f os2/makefile.os2 D_USE_BZ2=-DUSE_BZIP2 L_BZ2=-lbz2 \ > LIBBZ2=bzip2/libbz2.a gcc > make -f os2/makefile.os2 all \ > CC="gcc -Zomf -O -I." \ > CFLAGS="-Wall -DOS2 -DASM_CRC -DWILD_STOP_AT_DIR -DOS2_EAS \ > -DASM_CRC -DUSE_BZIP2 -DBZIP2_SFX -DUNICODE_SUPPORT" \ > NFLAGS="" \ > DLLFLAG="" \ > AS="gcc -Zomf" \ > ASFLAGS="-Di386" \ > LDFLAGS="-o ./" \ > LDFLAGS2="-s" \ > OUT="-o" \ > OBJ=".o" \ > CRCA_O="crc_gcc.obj" \ > DEF="os2/unzip.def" > make.exe[1]: Entering directory `J:/devel/unzip610b' > gcc -Zomf -O -I. -c -Wall -DOS2 -DASM_CRC -DWILD_STOP_AT_DIR \ -DOS2_EAS > -DASM_CRC -DUSE_BZIP2 -DBZIP2_SFX -DUNICODE_SUPPORT unzip.c > unzip.c: In function 'get_shortopt': > unzip.c:3986: warning: implicit declaration of function 'isdigit' > gcc -Zomf -O -I. -c -Wall -DOS2 -DASM_CRC -DWILD_STOP_AT_DIR \ -DOS2_EAS > -DASM_CRC -DUSE_BZIP2 -DBZIP2_SFX -DUNICODE_SUPPORT crc32.c > make.exe[1]: *** No rule to make target `crc_gcc.obj', needed by \ > `unzip.exe'. Stop. > make.exe[1]: Leaving directory `J:/devel/unzip610b' > make: *** [gcc] Error 2 > > I'm not sure how I got it to work before, but it's possible that > crc_gcc.obj was generated before I applied your changes, and it was a > leftover. > > Sorry to be such a pain (and a newbie). Thanks again for all of the help > and guidance. Using your command line except I used bz2_s.a instead of libbz2.a to build static seemed to have worked fine here. Bedtime so all I did was test that it didn't crash. For distributing a static linked bz2 seems better Dave
Back to comp.os.os2.programmer.porting | Previous | Next — Previous in thread | Next in thread | Find similar
Problems building unzip 6.10b Lewis Rosenthal <lgrosenthal@2-de-sp-am-2rosenthals.com> - 2013-06-01 14:07 -0400
Re: Problems building unzip 6.10b Dave Yeo <dave.r.yeo@gmail.com> - 2013-06-01 12:07 -0700
Re: Problems building unzip 6.10b "Andy" <abwillis1@yahoo.com> - 2013-06-01 23:30 +0000
Re: Problems building unzip 6.10b Lewis Rosenthal <lgrosenthal@2-de-sp-am-2rosenthals.com> - 2013-06-01 22:12 -0400
Re: Problems building unzip 6.10b Lewis Rosenthal <lgrosenthal@2-de-sp-am-2rosenthals.com> - 2013-06-01 22:41 -0400
Re: Problems building unzip 6.10b Dave Yeo <dave.r.yeo@gmail.com> - 2013-06-01 20:12 -0700
Re: Problems building unzip 6.10b Dave Yeo <dave.r.yeo@gmail.com> - 2013-06-01 20:10 -0700
Re: Problems building unzip 6.10b Lewis Rosenthal <lgrosenthal@2-de-sp-am-2rosenthals.com> - 2013-06-03 22:28 -0400
Re: Problems building unzip 6.10b Lewis Rosenthal <lgrosenthal@2-de-sp-am-2rosenthals.com> - 2013-06-04 00:28 -0400
Re: Problems building unzip 6.10b Dave Yeo <dave.r.yeo@gmail.com> - 2013-06-03 23:28 -0700
Re: Problems building unzip 6.10b Dave Yeo <dave.r.yeo@gmail.com> - 2013-06-03 23:50 -0700
Re: Problems building unzip 6.10b Lewis Rosenthal <lgrosenthal@2-de-sp-am-2rosenthals.com> - 2013-06-04 13:21 -0400
Re: Problems building unzip 6.10b Dave Yeo <dave.r.yeo@gmail.com> - 2013-06-04 19:33 -0700
Re: Problems building unzip 6.10b Lewis Rosenthal <lgrosenthal@2-de-sp-am-2rosenthals.com> - 2013-06-05 01:18 -0400
Re: Problems building unzip 6.10b "Andy" <abwillis1@yahoo.com> - 2013-06-04 17:14 +0000
Re: Problems building unzip 6.10b Lewis Rosenthal <lgrosenthal@2-de-sp-am-2rosenthals.com> - 2013-06-04 13:23 -0400
Re: Problems building unzip 6.10b "Andy" <abwillis1@yahoo.com> - 2013-06-04 20:50 +0000
Re: Problems building unzip 6.10b Lewis Rosenthal <lgrosenthal@2-de-sp-am-2rosenthals.com> - 2013-06-04 17:12 -0400
csiph-web