simple_talker compiler error
chuanqima opened this issue · comments
Hi,Everyone
has anyone ever encountered a similar error,when compiler the simple_talker.
q@Q:/Work/OpenAvnu/examples/simple_talker$ ls/Work/OpenAvnu/examples/simple_talker$ make
Makefile README simple_talker.c simple_talker.o
q@Q:
cc -L../../lib/igb_avb/lib simple_talker.o ../common/talker_mrp_client.o ../../lib/common/avb_avtp.o ../../lib/common/avb_gptp.o ../../lib/common/avb_igb.o -ligb -lpci -lrt -lm -pthread -o simple_talker
//usr/local/lib/libpci.a(names-parse.o): In function id_parse_list': names-parse.c:(.text+0xcc): undefined reference to
gzgets'
names-parse.c:(.text+0x248): undefined reference to gzeof' names-parse.c:(.text+0x423): undefined reference to
gzeof'
//usr/local/lib/libpci.a(names-parse.o): In function pci_load_name_list': names-parse.c:(.text+0x627): undefined reference to
gzopen'
names-parse.c:(.text+0x651): undefined reference to gzclose' names-parse.c:(.text+0x71c): undefined reference to
gzopen'
names-parse.c:(.text+0x741): undefined reference to gzerror' names-parse.c:(.text+0x751): undefined reference to
gzclose'
names-parse.c:(.text+0x766): undefined reference to zError' names-parse.c:(.text+0x771): undefined reference to
gzclose'
names-parse.c:(.text+0x793): undefined reference to `gzclose'
collect2: error: ld returned 1 exit status
Makefile:35: recipe for target 'simple_talker' failed
make: *** [simple_talker] Error 1