Forum Discussion
Altera_Forum
Honored Contributor
15 years agoGTK+2 is ported
Hi, I'd succeeded to port the libraries for GTK. Now 'gtk-demo' and 'tangogps' are working well though there are some bugs in 'Xfbdev' and unix sockets. The response of some widgets are not s...
Altera_Forum
Honored Contributor
15 years agoHi,
--- Quote Start --- Can you share the source code of the design ? --- Quote End --- My patches are almost all posted in this forum. For example, please see http://www.alteraforum.com/forum/showthread.php?t=18802 http://www.alteraforum.com/forum/showthread.php?t=25473 . For GTK+2 libraries, I only down-loaded the sources and compiled those with the commands like
PATH=$PATH:/home/***/nios2-linux/toolchain-mmu/x86-linux2/bin
export CC="nios2-wrs-linux-gnu-gcc -I/mnt/usr/include"
export LD=nios2-wrs-linux-gnu-ld
export LDFLAGS="-L/mnt/usr/lib/ -g"
export CFLAGS="-I/mnt/usr/include -g"
export CPPFLAGS="-I/mnt/usr/include -g"
export LIBS="-L/mnt/usr/lib/"
export CROSS=nios2-wrs-linux-
export PKG_CONFIG_PATH=/mnt/usr/lib/pkgconfig/
./configure --host=nios2-wrs-linux-gnu --prefix=/mnt/usr/ --x-libraries=/mnt/usr/lib/
make
make insatll
but to evoke the 'tangoGPS', you need many libraries, Dynamic section at offset 0x3f9b8 contains 44 entries:
Tag Type Name/Value
0x00000001 (NEEDED) Shared library:
0x00000001 (NEEDED) Shared library:
0x00000001 (NEEDED) Shared library:
0x00000001 (NEEDED) Shared library:
0x00000001 (NEEDED) Shared library:
0x00000001 (NEEDED) Shared library:
0x00000001 (NEEDED) Shared library:
0x00000001 (NEEDED) Shared library:
0x00000001 (NEEDED) Shared library:
0x00000001 (NEEDED) Shared library:
0x00000001 (NEEDED) Shared library:
0x00000001 (NEEDED) Shared library:
0x00000001 (NEEDED) Shared library:
0x00000001 (NEEDED) Shared library:
0x00000001 (NEEDED) Shared library:
0x00000001 (NEEDED) Shared library:
0x00000001 (NEEDED) Shared library:
0x00000001 (NEEDED) Shared library:
0x00000001 (NEEDED) Shared library:
0x00000001 (NEEDED) Shared library:
0x00000001 (NEEDED) Shared library:
0x00000001 (NEEDED) Shared library:
0x00000001 (NEEDED) Shared library:
:D. This means that you must march into the land of 'Dependency Hell!!', if you want to build these from their sources. So I strongly recommend you only to get their working binaries. Anyway I'm going to up-load these in more convenient style, if possible. Kazu