ubuntu8.04 host pc 编译 gtkpod libgpod的常见问题

2 views
Skip to first unread message

stan8688

unread,
May 14, 2008, 4:51:29 AM5/14/08
to 嵌入式linux
error: error: *** No package 'libgpod-1.0' found
resolve by follow
>>>>>>>export PKG_CONFIG_PATH=/home/stan/gd2009/base/host-build/libgpod/lib/pkgconfig/

configure: error: *** flex or lex required
>>>>>>>sudo apt-get install flex

configure: error: *** id3tag >= 0.15 lib not found (0.14 will not
work!)
>>>>sudo apt-get install libid3tag0-dev

gtkpod ok configue on ubuntu8.04 host pc
./configure --prefix= --prefix=/home/stan/gd2009/base/host-build/
gtkpod CFLAGS="-I /home/stan/gd2009/base/host-build/libgpod/include -
L /home/stan/gd2009/base/host-build/libgpod/lib"

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:(libgpod's path)


原先编译选项:
▒▒▒▒▒▒▒gdpod

1.sudo unlink /bin/sh
2. sudo ln -s /bin/bash /bin/sh
3.
CC=arm-linux-gcc ./configure --prefix=/home/marcle/gdpod_build --
host=arm-linux CFLAGS=" -I /home/marcle/libid3_build/include -L /home/
marcle/libid3_build/lib -I /home/marcle/libgpod_build/include -L /home/
marcle/libgpod_build/lib"

3.▒▒▒▒ɵ▒makefile▒▒▒▒▒▒▒▒¼▒▒▒
3.1. AM_CFLAGS= -I/usr/local/include -I/home/marcle/gd2008/mg1264/
comet/include
3.2. gdpod_LDADD= -L/home/marcle/gd2008/mg1264/comet/lib -lmb -
lmp4v2 -lgpio -llcd
4.make
5.▒▒▒Ŀ▒▒▒ļ▒Ϊ:src/gdpod


▒▒▒▒▒▒▒MP4V2▒▒̬▒▒

./configure --with-mp4v2 AS=arm-linux-gcc CC=arm-linux-gcc --host=arm-
linux --prefix=/home/mp4v2_build --without-fp CFLAGS=" -I /home/marcle/
lib/sdl/include/SDL -L /home/marcle/lib/sdl/lib"
Reply all
Reply to author
Forward
0 new messages