gcc - undefined reference to `lzma_code' -


i try pack application , static link libraries. error.the makefile shown below:

cc          = gcc incpath     = -i/home/johnny/application/filebasedreg/include/realitygrid libs        = -l/home/johnny/application/filebasedreg/lib/realitygrid -lreg_steer -l:libxml2.a -l:libncurses.a -l:libm.a -l:libz.a -l:libtermcap.a  objects     = mini_steerer.o  target      = mini_steerer  ###### compile ###### all: $(target)  $(target): $(objects)     $(cc) $(incpath) -o $(target) $(objects) $(libs)  mini_steerer.o: ./mini_steerer.c ./mini_steerer.h     $(cc) -c $(incpath) -o mini_steerer.o ./mini_steerer.c 

i think need add 1 or 2 more static libraries, can't find are.

on debian / ubuntu system, apt-get install liblzma-dev trick. link -llzma.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -