Pandora Pandora Sdk Installer


Thanks, your list works much better :)

Note that I had to add these 4 libs before the compilation could start:
http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/base/renderproto_0.11-r2.0.5_armv7a.ipk
http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/base/renderproto-dev_0.11-r2.0.5_armv7a.ipk
http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/base/renderproto-static_0.11-r2.0.5_armv7a.ipk
http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/base/openssl-dev_0.9.8m-r12.0.5_armv7a.ipk

But I have another problem now :(

Calling: "arm-none-linux-gnueabi-pkg-config --cflags gtk+-2.0 glib-2.0 gthread-2.0 openssl gio-2.0"
returns the faulty include folders:

-pthread -I/usr/local/pandora/arm-2009q3/usr/local/pandora/arm-2009q3/usr/include/gtk-2.0 -I/usr/local/pandora/arm-2009q3/usr/local/pandora/arm-2009q3/usr/lib/gtk-2.0/include -I/usr/local/pandora/arm-2009q3/usr/local/pandora/arm-2009q3/usr/include/atk-1.0 -I/usr/local/pandora/arm-2009q3/usr/local/pandora/arm-2009q3/usr/include/cairo -I/usr/local/pandora/arm-2009q3/usr/local/pandora/arm-2009q3/usr/include/pango-1.0 -I/usr/local/pandora/arm-2009q3/usr/local/pandora/arm-2009q3/usr/include/glib-2.0 -I/usr/local/pandora/arm-2009q3/usr/local/pandora/arm-2009q3/usr/lib/glib-2.0/include -I/usr/local/pandora/arm-2009q3/usr/local/pandora/arm-2009q3/usr/include/pixman-1 -I/usr/local/pandora/arm-2009q3/usr/local/pandora/arm-2009q3/usr/include/freetype2 -I/usr/local/pandora/arm-2009q3/usr/local/pandora/arm-2009q3/usr/include -I/usr/local/pandora/arm-2009q3/usr/local/pandora/arm-2009q3/usr/include/libpng12 -I/usr/local/pandora/arm-2009q3/usr/include

For example, this is not a valid path:
/usr/local/pandora/arm-2009q3/usr/local/pandora/arm-2009q3/usr/include/gtk-2.0

Correct would be:
/usr/local/pandora/arm-2009q3/usr/include/gtk-2.0

Anyone knows a fix for this ?
 
Adriatic said:
For example, this is not a valid path:
/usr/local/pandora/arm-2009q3/usr/local/pandora/arm-2009q3/usr/include/gtk-2.0

Correct would be:
/usr/local/pandora/arm-2009q3/usr/include/gtk-2.0

Anyone knows a fix for this ?
The pnd_lib.sh script try to fix the path for libtool and pkg_config (as *.la and *.pc files come from angstrom with thing setup in /usr).

You'll need to correct everything by hand fixing these files :
$PNDSDK/usr/lib/pkgconfig/*.pc

You might want to fix the line 84 of the script once you find out why it messed up your pkg_config descriptions...
 
Last edited by a moderator:
Thanks for the help.
I am now using handmade include paths instead of using pkg-config.
 
Few more notes/problems:

Getting library paths fails in even more strange way:
"arm-none-linux-gnueabi-pkg-config --libs gtk+-2.0 glib-2.0 gthread-2.0 openssl gio-2.0"

Result:
-pthread -L/usr/local/pandora/arm-2009q3/usr/local/pandora/arm-2009q3/usr/local/pandora/arm-2009q3/usr/lib -L/usr/local/pandora/arm-2009q3/usr/local/pandora/arm-2009q3/usr/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lssl -lcrypto -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0

Note that in the resulting path:
/usr/local/pandora/arm-2009q3/usr/local/pandora/arm-2009q3/usr/local/pandora/arm-2009q3/usr/lib

the part of the path "/usr/local/pandora/arm-2009q3" was used 3 times!?

After fixing the library paths to use manually fixed values, finally I get this linker errors:

...
/usr/local/pandora/arm-2009q3/usr/lib/libcairo.so: undefined reference to `pixman_region32_union_rect'
/usr/local/pandora/arm-2009q3/usr/lib/libgdk-x11-2.0.so: undefined reference to `XCloseDisplay'
/usr/local/pandora/arm-2009q3/usr/lib/libgdk-x11-2.0.so: undefined reference to `XGetAtomName'
/usr/local/pandora/arm-2009q3/usr/lib/libfontconfig.so: undefined reference to `XML_ParseBuffer'
/usr/local/pandora/arm-2009q3/usr/lib/libgdk-x11-2.0.so: undefined reference to `XFixesDestroyRegion'
/usr/local/pandora/arm-2009q3/usr/lib/libgdk-x11-2.0.so: undefined reference to `XcursorGetTheme'
/usr/local/pandora/arm-2009q3/usr/lib/libgdk-x11-2.0.so: undefined reference to `XGetSubImage'
/usr/local/pandora/arm-2009q3/usr/lib/libcairo.so: undefined reference to `png_get_valid@PNG12_0'
/usr/local/pandora/arm-2009q3/usr/lib/libcairo.so: undefined reference to `png_set_tRNS_to_alpha@PNG12_0'
/usr/local/pandora/arm-2009q3/usr/lib/libgdk-x11-2.0.so: undefined reference to `XCheckIfEvent'
/usr/local/pandora/arm-2009q3/usr/lib/libgdk-x11-2.0.so: undefined reference to `XQueryBestCursor'
/usr/local/pandora/arm-2009q3/usr/lib/libgdk-x11-2.0.so: undefined reference to `XPutImage'
/usr/local/pandora/arm-2009q3/usr/lib/libcairo.so: undefined reference to `XRenderCreateGlyphSet'
/usr/local/pandora/arm-2009q3/usr/lib/libgdk-x11-2.0.so: undefined reference to `XDrawString16'
/usr/local/pandora/arm-2009q3/usr/lib/libgdk-x11-2.0.so: undefined reference to `XShapeQueryVersion'
/usr/local/pandora/arm-2009q3/usr/lib/libgdk-x11-2.0.so: undefined reference to `XListPixmapFormats'
/usr/local/pandora/arm-2009q3/usr/lib/libcairo.so: undefined reference to `png_write_image@PNG12_0'
/usr/local/pandora/arm-2009q3/usr/lib/libcairo.so: undefined reference to `png_set_read_fn@PNG12_0'
/usr/local/pandora/arm-2009q3/usr/lib/libcairo.so: undefined reference to `png_create_info_struct@PNG12_0'
/usr/local/pandora/arm-2009q3/usr/lib/libcairo.so: undefined reference to `pixman_format_supported_destination'
/usr/local/pandora/arm-2009q3/usr/lib/libcairo.so: undefined reference to `png_set_expand_gray_1_2_4_to_8@PNG12_0'
/usr/local/pandora/arm-2009q3/usr/lib/libgdk-x11-2.0.so: undefined reference to `XSyncDestroyCounter'
/usr/local/pandora/arm-2009q3/usr/lib/libgdk-x11-2.0.so: undefined reference to `XShapeSelectInput'

I've been trying to fix those by installing (among the others):
http://www.angstrom-distribution.org/unstable/feed/armv7a/base/libpng_1.2.42-r2.0.5_armv7a.ipk
http://www.angstrom-distribution.org/unstable/feed/armv7a/base/libpng-dev_1.2.42-r2.0.5_armv7a.ipk
http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/base/libpng3_1.2.42-r2.0.5_armv7a.ipk
http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/base/libx11-6_1.3.4-r8.0.5_armv7a.ipk
http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/base/xserver-xorg_1.7.4-r17.2.5_armv7a.ipk

I can even confitm that for example, method "pixman_region32_union_rect" exists
within "/usr/local/pandora/arm-2009q3/usr/lib/libpixman-1.so" but linker still complains that the method is missing although I am using the proper linker flag: -L/usr/local/pandora/arm-2009q3/usr/lib

Is it possible that mixing different GTK versions could be the cause of it:
http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/base/gtk+_2.20.0-r8.0.5_armv7a.ipk
http://mydedibox.fr/pandora/toolchain/libs/gtk+_2.18.6-r8.4.5_armv7a.ipk
 
Adriatic said:
the part of the path "/usr/local/pandora/arm-2009q3" was used 3 times!?
Let me guess you have run pnd_lib.sh 3 times ? :)
Are you sure that you're using the lastest version from Cpasjuste ? as I don't have this behaviour.


Adriatic said:
After fixing the library paths to use manually fixed values, finally I get this linker errors:

...
/usr/local/pandora/arm-2009q3/usr/lib/libcairo.so: undefined reference to `pixman_region32_union_rect'
....
/usr/local/pandora/arm-2009q3/usr/lib/libgdk-x11-2.0.so: undefined reference to `XShapeSelectInput'

within "/usr/local/pandora/arm-2009q3/usr/lib/libpixman-1.so" but linker still complains that the method is missing although I am using the proper linker flag: -L/usr/local/pandora/arm-2009q3/usr/lib
I'm using :
Code:
 export LDFLAGS="-L/usr/local/pandora/arm-2009q3/usr/lib  -Wl,-rpath,/usr/local/pandora/arm-2009q3/usr/lib"
  export CPPFLAGS="-I/usr/local/pandora/arm-2009q3/usr/include"
  export CFLAGS="-O3 -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon  -mfloat-abi=softfp -ftree-vectorize -ffast-math"
Before running configure script so these goes in the Makefiles.
All you want is that the linker try to resolve himself the dependencies. So use the "-Wl,-rpath,$PNDSDK/usr/lib" tag.
If that don't make it, add "-lpixman-1".

Adriatic said:
Is it possible that mixing different GTK versions could be the cause of it:
http://www.angstrom-....0.5_armv7a.ipk
http://mydedibox.fr/....4.5_armv7a.ipk
No don't worry the last one (in the libraries.list) overwrite the previous one. 2.20 is available on the pandora and was required for liferea. This is the reason I added it.
 
Last edited by a moderator:
sebt3 said:
Adriatic said:
the part of the path "/usr/local/pandora/arm-2009q3" was used 3 times!?
Let me guess you have run pnd_lib.sh 3 times ? :)
Are you sure that you're using the lastest version from Cpasjuste ? as I don't have this behaviour.
Ok I've fixed the "sed" section, added a few check. Grab it here.

EDIT: now I also removed the dpkg dependency and sudo is only used on first run.
 
Last edited by a moderator:
After getting the new pnd_lib.sh scrpt and using the -rpath settings,
now everything seems to be working perfectly.

Thank you very much for your help.
 
I was having a hell of a time getting this to actually work on my Ubuntu VM that I threw together in VirtualBox, but after awhile I finally figured out the problem. My issue was that after unpacking the toolchain, etc., I couldn't execute any of the binaries even though they were in my path, had executable flags properly set, etc. Granted I modified the scripts to use the 2010q1 toolchain (as well as update the path to use .../arm-2010q1 instead of .../arm-2009q3 for everything) but I was doubtful this was the cause of my problems.

After a bit of Googling around, I came to realize that it's because I'm running x64 Ubuntu and was missing the ia32 shared libs that the CodeSourcery tools were dependent on. I fired up Synaptic Package Manager and had it install ia32-libs (as well as all packages it's dependent on of course), and voila! It works great now. Just thought I'd throw this out there for anyone else that may run into this. :)
 
Hmm I'm trying to compile a library that depends on zlib (zziplib), but configure is complaining about not finding zlib.h. But it is there!

rreale@rreale-vmware:~/prog/pandora/src/zziplib-0.13.59$ ./configure --host=arm-none-linux-gnueabi --prefix=$PNDSDK
...
checking for zlib being found... ...oops: zlib.h not found - try adding some CPPFLAGS to configure call

root@rreale-vmware:/usr/local/pandora/arm-2009q3# ls usr/include/z*
usr/include/zconf.h usr/include/zlib.h

Full configure log:

checking build system type... i686-pc-linux-gnu
checking host system type... arm-none-linux-gnueabi
checking target system type... arm-none-linux-gnueaconfigure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
configure: error: zlib.h not found: "zlib" is required to build "zziplib"
/local/pandora/arm-2009q3' 'host_alias=arm-none-linux-gnueabi'
checking build system type... i686-pc-linux-gnu
checking host system type... arm-none-linux-gnueabi
checking target system type... arm-none-linux-gnueabi
checking for gsed... sed
checking default prefix system... is /local-package
...using thread-safe linkage
checking zlib install prefix... none
checking rpm spec file... ../zziplib.spec
checking for spec package... zziplib
checking for spec version... 0.13.59
checking for spec license type... GNU LGPL
checking for spec summary... ZZipLib - libZ-based ZIP-access Library
checking for spec category... Development/Libraries
checking for spec icon... zziplib-icon.png (fallback)
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-none-linux-gnueabi-strip... arm-none-linux-gnueabi-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for arm-none-linux-gnueabi-gcc... arm-none-linux-gnueabi-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-none-linux-gnueabi-gcc accepts -g... yes
checking for arm-none-linux-gnueabi-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of arm-none-linux-gnueabi-gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by arm-none-linux-gnueabi-gcc... /usr/local/pandora/arm-2009q3/arm-none-linux-gnueabi/bin/ld
checking if the linker (/usr/local/pandora/arm-2009q3/arm-none-linux-gnueabi/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/local/pandora/arm-2009q3/bin/arm-none-linux-gnueabi-nm -B
checking the name lister (/usr/local/pandora/arm-2009q3/bin/arm-none-linux-gnueabi-nm - B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/local/pandora/arm-2009q3/arm-none-linux-gnueabi/bin/ld option to reload object files... -r
checking for arm-none-linux-gnueabi-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for arm-none-linux-gnueabi-ar... arm-none-linux-gnueabi-ar
checking for arm-none-linux-gnueabi-strip... (cached) arm-none-linux-gnueabi-strip
checking for arm-none-linux-gnueabi-ranlib... arm-none-linux-gnueabi-ranlib
checking command to parse /usr/local/pandora/arm-2009q3/bin/arm-none-linux-gnueabi-nm -B output from arm-none-linux-gnueabi-gcc object... ok
checking how to run the C preprocessor... arm-none-linux-gnueabi-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if arm-none-linux-gnueabi-gcc supports -fno-rtti -fno-exceptions... no
checking for arm-none-linux-gnueabi-gcc option to produce PIC... -fPIC -DPIC
checking if arm-none-linux-gnueabi-gcc PIC flag -fPIC -DPIC works... yes
checking if arm-none-linux-gnueabi-gcc static flag -static works... yes
checking if arm-none-linux-gnueabi-gcc supports -c -o file.o... yes
checking if arm-none-linux-gnueabi-gcc supports -c -o file.o... (cached) yes
checking whether the arm-none-linux-gnueabi-gcc linker (/usr/local/pandora/arm-2009q3/arm-none-linux-gnueabi/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking out linker version info 0.13.59 ... /0/13:59 (-0.so.13.0.59)
creating zzip/_msvc.in via zzip/_msvc.sed of config.h.in
checking whether to enable maintainer-specific portions of Makefiles... no
checking our pkgconfig libname... zziplib
checking our pkgconfig version... 0.13.59
checking our pkgconfig_libdir... ${libdir}/pkgconfig
expanded our pkgconfig_libdir... /usr/local/pandora/arm-2009q3/lib/pkgconfig
checking our pkgconfig_libfile... zziplib.pc
checking our package / suffix... zziplib /
checking our pkgconfig description... ZZipLib - libZ-based ZIP-access Library
checking our pkgconfig requires... zzip-zlib-config
checking our pkgconfig ext libs... -lzzip
checking our pkgconfig cppflags...
checking our pkgconfig ldflags...
generate the pkgconfig later... zzip/zziplib.pc
noninstalled pkgconfig -L /home/rreale/prog/pandora/src/zziplib-0.13.59/Linux_2.6.32-22-generic_i686.d/zzip/.libs
noninstalled pkgconfig -I /home/rreale/prog/pandora/src/zziplib-0.13.59/Linux_2.6.32-22-generic_i686.d/..
checking for pax... :
checking for gnutar... :
checking for gtar... :
checking for tar... /bin/tar
checking for portable tar tool... tar
checking for command to create portable tar archives... '/bin/tar' cf
checking for command to extract portable tar archives... '/bin/tar' xf
checking for perl5... no
checking for perl... /usr/bin/perl
checking for python... /usr/bin/python
checking for zip... /usr/bin/zip
checking for xmlto... no
checking for inline... inline
checking for an ANSI C-conforming const... yes
checking for C restrict keyword... __restrict__
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking winnt.h usability... no
checking winnt.h presence... no
checking for winnt.h... no
checking winbase.h usability... no
checking winbase.h presence... no
checking for winbase.h... no
checking sys/int_types.h usability... no
checking sys/int_types.h presence... no
checking for sys/int_types.h... no
checking for sys/types.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for sys/stat.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking zlib.h usability... no
checking zlib.h presence... no
checking for zlib.h... no
checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking fnmatch.h usability... yes
checking fnmatch.h presence... yes
checking for fnmatch.h... yes
checking for strcasecmp... yes
checking for strndup... yes
checking for off_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for off64_t... no
checking for __int64... no
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking whether byte ordering is bigendian... no
checking if pointers to integers require aligned access... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking whether system differentiates 64bit off_t by defines... yes
compiles library as 32bit off_t variant - largefile is not the default here
checking for zlib being found... ...oops: zlib.h not found - try adding some CPPFLAGS to configure call
...note: and when linkage fails you might also need to set some LDFLAGS
 
Hitnrun said:
Hmm I'm trying to compile a library that depends on zlib (zziplib), but configure is complaining about not finding zlib.h. But it is there!

rreale@rreale-vmware:~/prog/pandora/src/zziplib-0.13.59$ ./configure --host=arm-none-linux-gnueabi --prefix=$PNDSDK
...
checking for zlib being found... ...oops: zlib.h not found - try adding some CPPFLAGS to configure call

root@rreale-vmware:/usr/local/pandora/arm-2009q3# ls usr/include/z*
usr/include/zconf.h usr/include/zlib.h

Full configure log:

checking build system type... i686-pc-linux-gnu
checking host system type... arm-none-linux-gnueabi
checking target system type... arm-none-linux-gnueaconfigure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
configure: error: zlib.h not found: "zlib" is required to build "zziplib"
/local/pandora/arm-2009q3' 'host_alias=arm-none-linux-gnueabi'
checking build system type... i686-pc-linux-gnu
checking host system type... arm-none-linux-gnueabi
checking target system type... arm-none-linux-gnueabi
checking for gsed... sed
checking default prefix system... is /local-package
...using thread-safe linkage
checking zlib install prefix... none
checking rpm spec file... ../zziplib.spec
checking for spec package... zziplib
checking for spec version... 0.13.59
checking for spec license type... GNU LGPL
checking for spec summary... ZZipLib - libZ-based ZIP-access Library
checking for spec category... Development/Libraries
checking for spec icon... zziplib-icon.png (fallback)
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-none-linux-gnueabi-strip... arm-none-linux-gnueabi-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for arm-none-linux-gnueabi-gcc... arm-none-linux-gnueabi-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-none-linux-gnueabi-gcc accepts -g... yes
checking for arm-none-linux-gnueabi-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of arm-none-linux-gnueabi-gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by arm-none-linux-gnueabi-gcc... /usr/local/pandora/arm-2009q3/arm-none-linux-gnueabi/bin/ld
checking if the linker (/usr/local/pandora/arm-2009q3/arm-none-linux-gnueabi/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/local/pandora/arm-2009q3/bin/arm-none-linux-gnueabi-nm -B
checking the name lister (/usr/local/pandora/arm-2009q3/bin/arm-none-linux-gnueabi-nm - B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/local/pandora/arm-2009q3/arm-none-linux-gnueabi/bin/ld option to reload object files... -r
checking for arm-none-linux-gnueabi-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for arm-none-linux-gnueabi-ar... arm-none-linux-gnueabi-ar
checking for arm-none-linux-gnueabi-strip... (cached) arm-none-linux-gnueabi-strip
checking for arm-none-linux-gnueabi-ranlib... arm-none-linux-gnueabi-ranlib
checking command to parse /usr/local/pandora/arm-2009q3/bin/arm-none-linux-gnueabi-nm -B output from arm-none-linux-gnueabi-gcc object... ok
checking how to run the C preprocessor... arm-none-linux-gnueabi-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if arm-none-linux-gnueabi-gcc supports -fno-rtti -fno-exceptions... no
checking for arm-none-linux-gnueabi-gcc option to produce PIC... -fPIC -DPIC
checking if arm-none-linux-gnueabi-gcc PIC flag -fPIC -DPIC works... yes
checking if arm-none-linux-gnueabi-gcc static flag -static works... yes
checking if arm-none-linux-gnueabi-gcc supports -c -o file.o... yes
checking if arm-none-linux-gnueabi-gcc supports -c -o file.o... (cached) yes
checking whether the arm-none-linux-gnueabi-gcc linker (/usr/local/pandora/arm-2009q3/arm-none-linux-gnueabi/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking out linker version info 0.13.59 ... /0/13:59 (-0.so.13.0.59)
creating zzip/_msvc.in via zzip/_msvc.sed of config.h.in
checking whether to enable maintainer-specific portions of Makefiles... no
checking our pkgconfig libname... zziplib
checking our pkgconfig version... 0.13.59
checking our pkgconfig_libdir... ${libdir}/pkgconfig
expanded our pkgconfig_libdir... /usr/local/pandora/arm-2009q3/lib/pkgconfig
checking our pkgconfig_libfile... zziplib.pc
checking our package / suffix... zziplib /
checking our pkgconfig description... ZZipLib - libZ-based ZIP-access Library
checking our pkgconfig requires... zzip-zlib-config
checking our pkgconfig ext libs... -lzzip
checking our pkgconfig cppflags...
checking our pkgconfig ldflags...
generate the pkgconfig later... zzip/zziplib.pc
noninstalled pkgconfig -L /home/rreale/prog/pandora/src/zziplib-0.13.59/Linux_2.6.32-22-generic_i686.d/zzip/.libs
noninstalled pkgconfig -I /home/rreale/prog/pandora/src/zziplib-0.13.59/Linux_2.6.32-22-generic_i686.d/..
checking for pax... :
checking for gnutar... :
checking for gtar... :
checking for tar... /bin/tar
checking for portable tar tool... tar
checking for command to create portable tar archives... '/bin/tar' cf
checking for command to extract portable tar archives... '/bin/tar' xf
checking for perl5... no
checking for perl... /usr/bin/perl
checking for python... /usr/bin/python
checking for zip... /usr/bin/zip
checking for xmlto... no
checking for inline... inline
checking for an ANSI C-conforming const... yes
checking for C restrict keyword... __restrict__
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking winnt.h usability... no
checking winnt.h presence... no
checking for winnt.h... no
checking winbase.h usability... no
checking winbase.h presence... no
checking for winbase.h... no
checking sys/int_types.h usability... no
checking sys/int_types.h presence... no
checking for sys/int_types.h... no
checking for sys/types.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for sys/stat.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking zlib.h usability... no
checking zlib.h presence... no
checking for zlib.h... no
checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking fnmatch.h usability... yes
checking fnmatch.h presence... yes
checking for fnmatch.h... yes
checking for strcasecmp... yes
checking for strndup... yes
checking for off_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for off64_t... no
checking for __int64... no
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking whether byte ordering is bigendian... no
checking if pointers to integers require aligned access... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking whether system differentiates 64bit off_t by defines... yes
compiles library as 32bit off_t variant - largefile is not the default here
checking for zlib being found... ...oops: zlib.h not found - try adding some CPPFLAGS to configure call
...note: and when linkage fails you might also need to set some LDFLAGS

Hmm I added "--with-zlib=$PNDSDK/usr" and now it worked, shouldn't it find it automatically?
 
Last edited by a moderator:
Hitnrun said:
Hmm I added "--with-zlib=$PNDSDK/usr" and now it worked, shouldn't it find it automatically?
you might want to :
export PKG_CONFIG_PATH="$PNDSDK/usr/lib/pkgconfig"
 
Last edited by a moderator:
Hmm some of the Angstrom packages got renamed, and some download urls posted here do not work any more, wouldn't it be possible to use opkg on Debian / Ubuntu? I looked around and looks like there are some debs floating around, but I couldn't found out if it would be compatible with the pandora toolchain.
 
Thread finally pinned. :)

I also gathered these links:

http://www.gp32x.de/board/index.php?/topic/55453-pandora-sdk-installer-with-opkg/

http://www.gp32x.de/board/index.php?/topic/53964-cross-compiling-is-bollocks-toolchains-are-bollocks-use-your-pandora-to-build-apps/

http://www.gp32x.de/board/index.php?/topic/54508-simple-dev-pnd/

Should there be more pinning? I'm thinking at least one thread related to developing on the Pandora would be a good idea?
 
Last edited by a moderator:
Personnaly i'm not using sdk/gcc/dev stuff installed directly on the slash-root of my pandora but on a chroot directory. I'm doing this not to mess up my pandora with libs & environements that are not part of a default pandora root image. This way i can compile using a safe "chrooted" environement, and then test the resulting PND on a the "default pandora" environement. I've got also a chroot-sandbox to perform installation tests etc ... (i was a bit fed up to re-flash my pandora every two days ;) ).
 
Gruso said:
Thread finally pinned. :)
:(

This is not the best toolkit around.
I would recomand this one instead :
http://blogs.distant...h.com/wp/?p=109

zx-81 said:
Personnaly i'm not using sdk/gcc/dev stuff installed directly on the slash-root of my pandora but on a chroot directory. I'm doing this not to mess up my pandora with libs & environements that are not part of a default pandora root image. This way i can compile using a safe "chrooted" environement, and then test the resulting PND on a the "default pandora" environement. I've got also a chroot-sandbox to perform installation tests etc ... (i was a bit fed up to re-flash my pandora every two days ;) ).

scripts & docs please :)
 
Last edited by a moderator:
sebt3 said:
Gruso said:
Thread finally pinned. :)
:(

This is not the best toolkit around.
I would recomand this one instead :
http://blogs.distant...h.com/wp/?p=109
Hmm ok. It's not my area of expertise, just responding to a few requests earlier in thread. :)

Let's keep the discussion going, whatever you guys/girls think should be pinned we will pin. One topic ideally, no more than two, to avoid clutter. Or, perhaps someone more informed would like to start a new thread as a one-stop for development info, linking all these threads + DJW's blog and the wiki, and we'll pin that?

I'll clean up this topic when we're done, if need be.
 
Last edited by a moderator:
sebt3 said:
zx-81 said:
Personnaly i'm not using sdk/gcc/dev stuff installed directly on the slash-root of my pandora but on a chroot directory. I'm doing this not to mess up my pandora with libs & environements that are not part of a default pandora root image. This way i can compile using a safe "chrooted" environement, and then test the resulting PND on a the "default pandora" environement. I've got also a chroot-sandbox to perform installation tests etc ... (i was a bit fed up to re-flash my pandora every two days ;) ).

scripts & docs please :)

I'm not really good for this ... anyway it's not really complicated, just a tar ball copy of your / to a folder of your choice in your linux formated SD card, and then you use the /bin/chroot command to this folder ... (see man chroot, or http://en.wikipedia.org/wiki/Chroot). You may find tutos to setup a chroot env for linux.
 
Last edited by a moderator:
Back
Top