SDreamlinux 发表于 2005-2-17 20:24:32

比较一下make

# ls
atom.c   fastjpg.c       Makefile         rawaudio.h   trak.c
atom.o   fastjpg.h       make_package       raw.c          twos.c
c_flags    fastjpgmacro.hmake_streamable.craw.h          twos.h
codecs.c   funcprotos.h    matrix.c         readme         udta.c
codecs.h   global_config   mdat.c             revdct.c       ulaw.c
codecs.o   graphics.c      mdhd.c             rtjpeg.c       ulaw.h
configuregraphics.h      mdia.c             rtjpeg_core.cutil.c
ctab.c   hdlr.c          minf.c             rtjpeg_core.hvmhd.c
ctab.o   ima4.c          mjpa.c.bak         rtjpeg.h       wmx1.c
dechunk.cima4.h          mjpa.h.bak         sizes.h      wmx1.h
dinf.c   index.bt      mmx.h            smhd.c         wmx2.c
dinf.o   jdatadst.c      moov.c             stbl.c         wmx2.h
docs       jdatasrc.c      mvhd.c             stco.c         xanimjpeg.c
dref.c   jpeg            private.h          stsc.c         xanimjpeg.h
dref.o   jpeg.c          qtinfo.c         stsd.c         yuv2.c
dump.c   jpeg.c.bak      qtpng.c            stsdtable.c    yuv2.h
dv.c       jpeg.h          qtpng.h            stss.c         yuv4.c
dv.h       jpeg.h.bak      quicktime.c      stsz.c         yuv4.h
edts.c   libdv         quicktime.h      stts.c         yuv4toyuv.c
elst.c   libraw1394      rawaudio.c         tkhd.c         yuv9.h
# ./configure
Configuring libquicktime
done
# make
gcc -c `./c_flags` dv.c
make: glib-config:命令未找到
dv.c:1: warning: -malign-loops is obsolete, use -falign-loops
dv.c:1: warning: -malign-jumps is obsolete, use -falign-jumps
dv.c:1: warning: -malign-functions is obsolete, use -falign-functions
In file included from libdv/dv.h:30,
               from libdv/dvprivate.h:4,
               from libdv/libdv.h:21,
               from dv.h:4,
               from dv.c:1:
libdv/bitstream.h:34:18: glib.h: 没有那个文件或目录
In file included from libdv/dv.h:30,
               from libdv/dvprivate.h:4,
               from libdv/libdv.h:21,
               from dv.h:4,
               from dv.c:1:
libdv/bitstream.h:43: error: syntax error before "guint32"
libdv/bitstream.h:43: warning: no semicolon at end of struct or union
libdv/bitstream.h:44: warning: data definition has no type or storage class
libdv/bitstream.h:45: error: syntax error before "bits_left"
libdv/bitstream.h:45: warning: data definition has no type or storage class
libdv/bitstream.h:46: error: syntax error before "next_bits"
libdv/bitstream.h:46: warning: data definition has no type or storage class
libdv/bitstream.h:48: error: syntax error before '*' token
libdv/bitstream.h:48: warning: data definition has no type or storage class
libdv/bitstream.h:49: error: syntax error before "buflen"
libdv/bitstream.h:49: warning: data definition has no type or storage class
libdv/bitstream.h:50: error: syntax error before "bufoffset"
libdv/bitstream.h:50: warning: data definition has no type or storage class
libdv/bitstream.h:52: error: syntax error before '*' token
libdv/bitstream.h:52: error: syntax error before '*' token
libdv/bitstream.h:52: error: `guint32' declared as function returning a function
libdv/bitstream.h:52: warning: data definition has no type or storage class
libdv/bitstream.h:55: error: syntax error before "bitsread"
libdv/bitstream.h:55: warning: data definition has no type or storage class
libdv/bitstream.h:56: warning: data definition has no type or storage class
libdv/bitstream.h:58: error: syntax error before '*' token
libdv/bitstream.h:58: warning: data definition has no type or storage class
libdv/bitstream.h:59: error: syntax error before '*' token
libdv/bitstream.h:59: error: syntax error before '*' token
libdv/bitstream.h:59: error: `bitstream_set_fill_func' declared as function returning a function
libdv/bitstream.h:60: error: syntax error before '*' token
libdv/bitstream.h:61: error: syntax error before '*' token
libdv/bitstream.h:62: error: syntax error before '*' token
libdv/bitstream.h:64: error: syntax error before '*' token
libdv/bitstream.h: In function `bitstream_next_word':
libdv/bitstream.h:65: error: syntax error before "diff"
libdv/bitstream.h:67: error: `diff' undeclared (first use in this function)
libdv/bitstream.h:67: error: (Each undeclared identifier is reported only once
libdv/bitstream.h:67: error: for each function it appears in.)
libdv/bitstream.h:68: error: `bs' undeclared (first use in this function)
libdv/bitstream.h:71: error: `gulong' undeclared (first use in this function)
libdv/bitstream.h:71: error: syntax error before ')' token
libdv/bitstream.h:72: error: `guint8' undeclared (first use in this function)
libdv/bitstream.h:72: error: syntax error before ')' token
libdv/bitstream.h:72: error: syntax error before ')' token
libdv/bitstream.h:72: error: syntax error before ')' token
libdv/bitstream.h:72: error: syntax error before ')' token
libdv/bitstream.h:77: error: syntax error before ')' token
libdv/bitstream.h: At top level:
libdv/bitstream.h:94: error: syntax error before "static"
libdv/bitstream.h:94: error: syntax error before '*' token
libdv/bitstream.h: In function `bitstream_show_bh':
libdv/bitstream.h:95: error: syntax error before "result"
libdv/bitstream.h:97: error: `result' undeclared (first use in this function)
libdv/bitstream.h:97: error: `bs' undeclared (first use in this function)
libdv/bitstream.h:98: error: `num_bits' undeclared (first use in this function)
libdv/bitstream.h: At top level:
libdv/bitstream.h:104: error: syntax error before "static"
libdv/bitstream.h:104: error: syntax error before '*' token
libdv/bitstream.h: In function `bitstream_get_bh':
libdv/bitstream.h:105: error: syntax error before "result"
libdv/bitstream.h:107: error: `num_bits' undeclared (first use in this function)
libdv/bitstream.h:107: error: `bs' undeclared (first use in this function)
libdv/bitstream.h:108: error: `result' undeclared (first use in this function)
libdv/bitstream.h: At top level:
libdv/bitstream.h:120: error: syntax error before '*' token
libdv/bitstream.h: In function `bitstream_flush_bh':
libdv/bitstream.h:123: error: `bs' undeclared (first use in this function)
libdv/bitstream.h:124: error: `num_bits' undeclared (first use in this function)
libdv/bitstream.h: At top level:
libdv/bitstream.h:128: error: syntax error before "bitstream_show"
libdv/bitstream.h:128: error: syntax error before '*' token
libdv/bitstream.h: In function `bitstream_show':
libdv/bitstream.h:129: error: `num_bits' undeclared (first use in this function)
libdv/bitstream.h:129: error: `bs' undeclared (first use in this function)
libdv/bitstream.h: At top level:
libdv/bitstream.h:135: error: syntax error before "bitstream_get"
libdv/bitstream.h:135: error: syntax error before '*' token
libdv/bitstream.h: In function `bitstream_get':
libdv/bitstream.h:136: error: syntax error before "result"
libdv/bitstream.h:138: error: `bs' undeclared (first use in this function)
libdv/bitstream.h:138: error: `num_bits' undeclared (first use in this function)
libdv/bitstream.h:141: error: `result' undeclared (first use in this function)
libdv/bitstream.h: At top level:
libdv/bitstream.h:150: error: syntax error before '*' token
libdv/bitstream.h: In function `bitstream_unget':
libdv/bitstream.h:152: error: `guint' undeclared (first use in this function)
libdv/bitstream.h:152: error: syntax error before "high_bits"
libdv/bitstream.h:155: error: `num_bits' undeclared (first use in this function)
libdv/bitstream.h:155: error: `data' undeclared (first use in this function)
libdv/bitstream.h:155: error: `mask' undeclared (first use in this function)
libdv/bitstream.h:157: error: `bs' undeclared (first use in this function)
libdv/bitstream.h:168: error: `high_bits' undeclared (first use in this function)
libdv/bitstream.h: At top level:
libdv/bitstream.h:178: error: syntax error before '*' token
libdv/bitstream.h: In function `bitstream_flush':
libdv/bitstream.h:179: error: `num_bits' undeclared (first use in this function)
libdv/bitstream.h:179: error: `bs' undeclared (first use in this function)
libdv/bitstream.h: At top level:
libdv/bitstream.h:187: error: syntax error before '*' token
libdv/bitstream.h: In function `bitstream_flush_large':
libdv/bitstream.h:188: error: `gint' undeclared (first use in this function)
libdv/bitstream.h:188: error: syntax error before "bits"
libdv/bitstream.h:190: error: `bits' undeclared (first use in this function)
libdv/bitstream.h:191: error: `bs' undeclared (first use in this function)
libdv/bitstream.h: At top level:
libdv/bitstream.h:197: error: syntax error before '*' token
libdv/bitstream.h: In function `bitstream_seek_set':
libdv/bitstream.h:198: error: `bs' undeclared (first use in this function)
libdv/bitstream.h:198: error: `offset' undeclared (first use in this function)
libdv/bitstream.h:199: error: `gulong' undeclared (first use in this function)
libdv/bitstream.h:199: error: syntax error before ')' token
libdv/bitstream.h:200: error: `guint8' undeclared (first use in this function)
libdv/bitstream.h:200: error: syntax error before ')' token
libdv/bitstream.h:200: error: syntax error before ')' token
libdv/bitstream.h:200: error: syntax error before ')' token
libdv/bitstream.h:200: error: syntax error before ')' token
libdv/bitstream.h:202: error: syntax error before ')' token
libdv/bitstream.h:203: error: syntax error before ')' token
libdv/bitstream.h:203: error: syntax error before ')' token
libdv/bitstream.h:203: error: syntax error before ')' token
libdv/bitstream.h:203: error: syntax error before ')' token
In file included from libdv/dvprivate.h:4,
               from libdv/libdv.h:21,
               from dv.h:4,
               from dv.c:1:
libdv/dv.h: At top level:
libdv/dv.h:58: error: syntax error before "dv_coeff_t"
libdv/dv.h:58: warning: data definition has no type or storage class
libdv/dv.h:59: error: syntax error before "dv_248_coeff_t"
libdv/dv.h:59: warning: data definition has no type or storage class
libdv/dv.h:62: error: syntax error before "dv_coeff_t"
libdv/dv.h:62: warning: no semicolon at end of struct or union
libdv/dv.h:63: warning: data definition has no type or storage class
libdv/dv.h:64: error: syntax error before "dct_mode"
libdv/dv.h:64: warning: data definition has no type or storage class
libdv/dv.h:65: error: syntax error before "class_no"
libdv/dv.h:65: warning: data definition has no type or storage class
libdv/dv.h:66: error: syntax error before '*' token
libdv/dv.h:66: warning: data definition has no type or storage class
libdv/dv.h:67: error: syntax error before '*' token
libdv/dv.h:67: warning: data definition has no type or storage class
libdv/dv.h:68: error: syntax error before "offset"
libdv/dv.h:68: warning: data definition has no type or storage class
libdv/dv.h:69: error: syntax error before "end"
libdv/dv.h:69: warning: data definition has no type or storage class
libdv/dv.h:70: error: syntax error before "eob"
libdv/dv.h:70: warning: data definition has no type or storage class
libdv/dv.h:71: error: syntax error before "mark"
libdv/dv.h:71: warning: data definition has no type or storage class
libdv/dv.h:72: warning: data definition has no type or storage class
libdv/dv.h:75: error: syntax error before "gint"
libdv/dv.h:75: warning: no semicolon at end of struct or union
libdv/dv.h:77: warning: data definition has no type or storage class
libdv/dv.h:78: error: syntax error before "qno"
libdv/dv.h:78: warning: data definition has no type or storage class
libdv/dv.h:79: error: syntax error before "sta"
libdv/dv.h:79: warning: data definition has no type or storage class
libdv/dv.h:80: error: syntax error before "vlc_error"
libdv/dv.h:80: warning: data definition has no type or storage class
libdv/dv.h:81: error: syntax error before "eob_count"
libdv/dv.h:81: warning: data definition has no type or storage class
libdv/dv.h:82: warning: data definition has no type or storage class
libdv/dv.h:85: error: syntax error before "gint"
libdv/dv.h:85: warning: no semicolon at end of struct or union
libdv/dv.h:86: warning: data definition has no type or storage class
libdv/dv.h:87: error: syntax error before "mb"
libdv/dv.h:87: warning: data definition has no type or storage class
libdv/dv.h:88: error: syntax error before "isPAL"
libdv/dv.h:88: warning: data definition has no type or storage class
libdv/dv.h:89: warning: data definition has no type or storage class
libdv/dv.h:92: error: syntax error before "gint"
libdv/dv.h:92: warning: no semicolon at end of struct or union
libdv/dv.h:94: warning: data definition has no type or storage class
libdv/dv.h:95: error: syntax error before "map2"
libdv/dv.h:95: warning: data definition has no type or storage class
libdv/dv.h:96: error: syntax error before "map_norm"
libdv/dv.h:96: warning: data definition has no type or storage class
libdv/dv.h:97: error: syntax error before '*' token
libdv/dv.h:97: warning: data definition has no type or storage class
libdv/dv.h:98: error: syntax error before '}' token
libdv/dv.h:98: warning: data definition has no type or storage class
In file included from libdv/libdv.h:21,
               from dv.h:4,
               from dv.c:1:
libdv/dvprivate.h:38: error: syntax error before "dv_videosegment_t"
libdv/dvprivate.h:38: warning: no semicolon at end of struct or union
libdv/dvprivate.h:39: warning: data definition has no type or storage class
libdv/dvprivate.h:40: warning: data definition has no type or storage class
In file included from dv.h:4,
               from dv.c:1:
libdv/libdv.h:24: error: syntax error before '*' token
libdv/libdv.h:24: warning: data definition has no type or storage class
libdv/libdv.h:25: error: syntax error before '*' token
libdv/libdv.h:27: error: syntax error before '*' token
libdv/libdv.h:33: error: syntax error before '*' token
In file included from dv.c:1:
dv.h:8: error: syntax error before "dv_t"
dv.h:8: warning: no semicolon at end of struct or union
dv.h:11: error: syntax error before '}' token
dv.h:11: warning: data definition has no type or storage class
dv.c: In function `quicktime_delete_codec_dv':
dv.c:6: error: `codec' undeclared (first use in this function)
dv.c: In function `quicktime_decode_dv':
dv.c:19: error: `codec' undeclared (first use in this function)
dv.c: In function `quicktime_init_codec_dv':
dv.c:59: error: `codec' undeclared (first use in this function)
make: *** 错误 1
#   

# cd update_0.2
# ls
Makefileupdateipupdateip.oupdateip.sh
# make
make: “updateip”是最新的。
# make install
Copying program to /sbin/updateip...
Update system crontab...
Installation successfully finished.


Please config username and password in:
/etc/cron.hourly/updateip.sh


Thanks for choosing ZeroLogic Software!
#   
为什么2个make一个可以通过一个不行呀
页: [1]
查看完整版本: 比较一下make