**** BEGIN LOGGING AT Sat Nov 05 02:59:57 2011 Nov 05 08:12:50 angstrom: 03Koen Kooi  07master * re779e7665c 10meta-angstrom/conf/distro/include/angstrom-2010-preferred-versions.inc: Nov 05 08:12:51 angstrom: angstrom: drop lighttpd pinning, only one version in oe-core Nov 05 08:12:51 angstrom: Signed-off-by: Koen Kooi Nov 05 08:12:51 angstrom: 03Koen Kooi  07master * rf0a4e9255d 10meta-angstrom/ (12 files in 10 dirs): Nov 05 08:12:51 angstrom: angstrom-led-config: rename to led-config Nov 05 08:12:51 angstrom: Signed-off-by: Koen Kooi Nov 05 08:55:06 angstrom: 03testlab  07yocto * raa3d661a37 10testlab/beaglebone/eglibc/Cloud9-IDE/ (4 files): beaglebone: Cloud9-IDE configured for angstrom v2011.11-core using branch angstrom-staging and revision 60565a28242c989ba64959590304bc6ffce6f8c6 Nov 05 09:55:43 angstrom: 03testlab  07yocto * rca69ec32f6 10testlab/beagleboard/eglibc/Cloud9-IDE/ (5 files): beagleboard: Cloud9-IDE configured for angstrom v2011.11-core using branch angstrom-staging and revision 60565a28242c989ba64959590304bc6ffce6f8c6 Nov 05 11:28:53 Hi guys, enjoying your weekend? Nov 05 12:41:05 hi Nov 05 12:41:13 you the guy having trouble with the sdk? Nov 05 12:43:29 does regular c work, does hello world build Nov 05 13:17:07 angstrom: 03testlab  07yocto * r40766f326f 10testlab/beagleboard/eglibc/systemd-image/build-id: beagleboard: systemd-image configured for angstrom v2011.11-core using branch angstrom-staging and revision 60565a28242c989ba64959590304bc6ffce6f8c6 Nov 05 13:25:28 angstrom: 03testlab  07yocto * r3cf94d6350 10testlab/beagleboard/eglibc/XFCE-NetworkManager-image/ (5 files): beagleboard: XFCE-NetworkManager-image configured for angstrom v2011.11-core using branch angstrom-staging and revision 60565a28242c989ba64959590304bc6ffce6f8c6 Nov 05 13:37:41 hi crofton, sorry was AFK, the sample I'm compiling just includes iostream and is hello world and indeed doesn't work Nov 05 13:38:04 it's a C++ project though Nov 05 13:38:57 to confirm I'm using Code::Blocks 10.5 Nov 05 13:39:13 10.05* Nov 05 13:42:39 I can't determine if the issue is related to a missed configuration step due to using code::blocks, because I'm on a newer 64-bit OS or if it's simply because for whatever reason libmpfr.so.1 isn't included Nov 05 13:45:45 the full error is: Nov 05 13:47:17 Compiling: main.cpp /usr/local/angstrom/arm/libexec/gcc/arm-angstrom-linux-gnuebi/4.4.2/cclplus: error while loading shared libraries: libmpfr.so.1: cannot open shared object file: No such file or directory Nov 05 13:47:49 does hello.c compile? Nov 05 13:49:40 do you know where I can find this sample? I am just using the console application template in Code::Blocks which is C++ only Nov 05 13:50:11 and main.cpp is the only file Nov 05 13:50:40 hello.c is the fmaous minimla c prgram ... Nov 05 13:51:09 http://www.math.utah.edu/computing/compilers/c/cprogs/hello.html Nov 05 13:55:18 I created a blank project, created hello.c, the message I receive is Linking stage skipped (build target has no object files to lin) Nothing to be done. Nov 05 13:56:46 ah Nov 05 13:56:59 it didn't auto add to build target Nov 05 13:57:09 no I received same error but for ccl this time Nov 05 13:58:31 so to answer your question, hello.c does not work and receives the same error Nov 05 14:01:36 hmm Nov 05 14:01:45 you got the tarball from the image builder? Nov 05 14:03:16 yeah, I went to advanced, full sdk for 64-bit, task-base, toolchain, boost and a few other 3rd party libs Nov 05 14:03:43 running Ubuntu 11.10 x86_64 as the host Nov 05 14:05:05 to confirm, what library folders should I be including in my linker search list? Nov 05 14:06:19 gcc -o hello hello.c should work Nov 05 14:06:41 where gcc is the name of the compilier Nov 05 14:06:45 angsomr .... Nov 05 14:07:06 well I'll try this in the command-line and confirm that's working ok then I'll know it's something in the codeblocks setup Nov 05 14:07:18 yeah Nov 05 14:07:23 that is a good plan :) Nov 05 14:07:33 I'm not sure what codeblocks is :) Nov 05 14:07:51 haha, a fairly slim multi-platform C++ IDE Nov 05 14:09:05 I've not tried cross-compiling with it on linux before but had no issues cross-compiling from Windows with CodeSourcery on it, only I'm now wanting to use the angstrom compiler to make life easier in the long run Nov 05 14:09:24 which doesn't work in windows Nov 05 14:10:56 no I receive the same error from the commandline Nov 05 14:11:59 *sigh* Nov 05 14:12:16 the problem is my linux knowedge is limited so I'm quite useless in this situation Nov 05 14:18:30 hmmm, if I append the exact library directory on the end of LD_LIBRARY_PATH I now receive the error wrong ELF class showing that it wasn't finding te library before Nov 05 14:18:55 on the otherhand doesn't sort out the issue that I don't have a proper libmpfr.so.1 in the first place Nov 05 14:19:00 just as confussed Nov 05 14:23:37 does this imply that it's perhaps getting libraries from somewhere it shouldn't be Nov 05 14:24:17 if ELFCLASS32 was wrong this indicates calling libraries are perhaps 64-bit? Nov 05 14:27:31 angstrom: 03testlab  07yocto * r72588980ba 10testlab/beaglebone/eglibc/Cloud9-IDE/ (3 files): beaglebone: Cloud9-IDE configured for angstrom v2011.11-core using branch angstrom-staging and revision 60565a28242c989ba64959590304bc6ffce6f8c6 Nov 05 14:28:25 it should just work Nov 05 14:28:32 shouldn't be that hard Nov 05 14:28:39 I suppose I should check a recent tarball Nov 05 14:28:49 would be much appreciated Nov 05 14:29:06 if I run out of ideas I may just put on a 32-bit os to rule that out Nov 05 14:29:28 good idea Nov 05 14:29:32 what machine are you using Nov 05 14:29:46 in fact I'll do it now, it's not like this install is my primary os anyway Nov 05 14:29:56 it's a core2duo laptop Nov 05 14:30:28 I am on 64 bit intel Nov 05 14:30:38 hah Nov 05 14:30:41 but it works for you Nov 05 14:30:44 gr8 Nov 05 14:30:45 lol Nov 05 14:30:57 one possible solution gone with the wind Nov 05 14:32:08 so if I take tarball, extract to root, run evironment-setup and compile with no other changes it should have just worked? Nov 05 14:33:03 what is the env setup? Nov 05 14:33:52 it's an included script with the tarball for setting up SDK_PATH CPATH LD_LIBRARY_PATH etc Nov 05 14:34:40 sets up some opkg macros too Nov 05 14:35:30 hang on ermmm Nov 05 14:35:31 export SDK_PATH=/usr/local/angstrom/arm Nov 05 14:35:32 export TARGET_SYS=arm-angstrom-linux-gnueabi Nov 05 14:35:32 export PATH=$SDK_PATH/bin:$PATH Nov 05 14:35:32 export CPATH=$SDK_PATH/$TARGET_SYS/usr/include:$CPATH Nov 05 14:35:32 export LIBTOOL_SYSROOT_PATH=$SDK_PATH/$TARGET_SYS Nov 05 14:35:32 export PKG_CONFIG_SYSROOT_DIR=$SDK_PATH/$TARGET_SYS Nov 05 14:35:33 export PKG_CONFIG_PATH=$SDK_PATH/$TARGET_SYS${libdir}/pkgconfig Nov 05 14:35:33 export CONFIG_SITE=$SDK_PATH/site-config Nov 05 14:35:34 alias opkg="LD_LIBRARY_PATH=$SDK_PATH/lib $SDK_PATH/bin/opkg-cl -f $SDK_PATH/${sysconfdir}/opkg-sdk.conf -o $SDK_PATH" Nov 05 14:35:34 alias opkg-target="LD_LIBRARY_PATH=$SDK_PATH/lib $SDK_PATH/bin/opkg-cl -o $SDK_PATH/$TARGET_SYS" Nov 05 14:35:34 export OE_QMAKE_CC=${TARGET_SYS}-gcc Nov 05 14:35:35 export OE_QMAKE_CXX=${TARGET_SYS}-g++ Nov 05 14:35:36 export OE_QMAKE_LINK=${TARGET_SYS}-g++ Nov 05 14:35:36 export OE_QMAKE_AR=${TARGET_SYS}-ar Nov 05 14:39:34 downloading Nov 05 14:39:38 my internets are sucking Nov 05 14:39:53 I need to remove some wifi links and run a hard wire back to trouter today Nov 05 14:42:33 haha I did that just last week, was on terrible wifi for years, finally decided to drill a hole in the wall and installed gigabit ethernet Nov 05 14:42:47 thanks for all the help by the way Nov 05 14:43:30 I'll be AFK for next 20mins, please let me know how it goes will be back shortly Nov 05 14:44:19 ok Nov 05 14:44:27 I'll post something here when i get to it Nov 05 15:07:55 thx Nov 05 15:08:21 if my pc goes to sleep at all my email is ali_lowe@sky.com Nov 05 15:15:02 [balister@moose ~]$ export PATH=./usr/local/angstrom/arm/bin/:$PATH Nov 05 15:15:03 [balister@moose ~]$ arm-angstrom-linux-gnueabi-gcc Nov 05 15:15:03 arm-angstrom-linux-gnueabi-gcc arm-angstrom-linux-gnueabi-gccbug Nov 05 15:15:03 [balister@moose ~]$ arm-angstrom-linux-gnueabi-gcc Nov 05 15:15:03 arm-angstrom-linux-gnueabi-gcc arm-angstrom-linux-gnueabi-gccbug Nov 05 15:15:03 [balister@moose ~]$ arm-angstrom-linux-gnueabi-gcc -o hello hello.c Nov 05 15:15:05 [balister@moose ~]$ ./hello Nov 05 15:15:07 bash: ./hello: cannot execute binary file Nov 05 15:15:09 [balister@moose ~]$ Nov 05 15:15:43 http://pastebin.com/9Zpz3exV Nov 05 15:15:47 Alistair, works for me Nov 05 15:15:58 I only set PATH though Nov 05 16:05:40 !logs Nov 05 16:05:45 meh Nov 05 16:13:29 hopefully this laptop wont go to sleep! Nov 05 16:13:40 appoligies if I missed anything Nov 05 16:26:32 Alistair, works for me Nov 05 16:26:35 I only set PATH though Nov 05 16:26:37 http://pastebin.com/9Zpz3exV Nov 05 16:35:25 :S Nov 05 16:35:34 but thx looking it over now Nov 05 16:37:45 i targeted beagleboard as I'm intending to use the beaglebone when the release is finalised, could that have an impact as the supplied compiler is 4.4.2 Nov 05 16:38:32 also oddly it's saying armv4 which doesn't seem right Nov 05 16:43:00 -with-mpfr=/OE/angstrom-dev/sysroots/x86_64-linux/usr Nov 05 16:43:27 this isn't a folder I have I don't think Nov 05 16:44:11 hmm yeah it's expecting /OE but I don't have it Nov 05 16:46:14 is this something I need and if so where can I find it? Nov 05 20:01:57 hi Crofton, I've solved my issue thanks, I just used the 'next' release option for the SDK as opposed to the 03.2011 stable edition Nov 05 20:02:39 the compiler information was very helpful Nov 05 20:50:04 ah Nov 05 20:50:09 can you mention on the list Nov 05 20:50:14 I always use next :) Nov 05 21:45:48 I will do **** ENDING LOGGING AT Sun Nov 06 02:59:57 2011