what do you need to link to get a gmerlin app to work?

I set up my makefile with  

LDFLAGS = `pkg-config theora  gmerlin gmerlin_avdec --libs` 


but during compile I get:


nice -n 15 g++ -g `pkg-config theora gmerlin gmerlin_avdec --cflags`
-I./src -I/usr/local/include/ -o encode bgencode.c  `pkg-config theora
gmerlin gmerlin_avdec --libs`  -lgmerlin
/tmp/ccGyLPFq.o: In function `main':
/home/august/down/etheora/bgencode.c:20: undefined reference to
`bg_cfg_registry_create()'
/home/august/down/etheora/bgencode.c:21: undefined reference to
`bg_search_file_read(char const*, char const*)'
/home/august/down/etheora/bgencode.c:22: undefined reference to
`bg_cfg_registry_load(bg_cfg_registry_s*, char const*)'
/home/august/down/etheora/bgencode.c:24: undefined reference to
`bg_cfg_registry_find_section(bg_cfg_registry_s*, char const*)'
/home/august/down/etheora/bgencode.c:25: undefined reference to
`bg_plugin_registry_create(bg_cfg_section_s*)'
collect2: ld returned 1 exit status
make: *** [encode] Error 1


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Gmerlin-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gmerlin-general

Reply via email to