Compiler build tools (2012)

Testing and development of Megasquirt 3

Moderators: jsmcortina, muythaibxr

Re: Compiler build tools (2012)

Postby MS2tester » Tue Mar 26, 2013 4:42 am

i got

ronald@ronald-System-Product-Name:~$ ldd /usr/bin/m68hc11-elf-gcc
geen dynamisch uitvoerbaar bestand
ronald@ronald-System-Product-Name:~$ LANG=C ldd /usr/bin/m68hc11-elf-gcc
not a dynamic executable
ronald@ronald-System-Product-Name:~$

ronald@ronald-System-Product-Name:~$ ls -l /usr/bin/m68hc11-elf-gcc
-rwxr-xr-x 2 root root 76672 okt 24 01:46 /usr/bin/m68hc11-elf-gcc
ronald@ronald-System-Product-Name:~$
MS2tester
Master MS/Extra'er
 
Posts: 440
Joined: Sat Apr 11, 2009 12:54 pm
Location: Aalsmeer the netherlands

Re: Compiler build tools (2012)

Postby jsmcortina » Tue Mar 26, 2013 5:06 am

Did you install the multi-arch libraries as Kristian suggested?

James
I can supply, repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 33990
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: Compiler build tools (2012)

Postby MS2tester » Tue Mar 26, 2013 5:44 am

ronald@ronald-System-Product-Name:~$ LANG=C sudo apt-get install ia32-libs
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
ia32-libs : Depends: ia32-libs-multiarch
E: Unable to correct problems, you have held broken packages.
ronald@ronald-System-Product-Name:~$
MS2tester
Master MS/Extra'er
 
Posts: 440
Joined: Sat Apr 11, 2009 12:54 pm
Location: Aalsmeer the netherlands

Re: Compiler build tools (2012)

Postby kristian » Tue Mar 26, 2013 6:10 am

You can type 'export LANG=C' once and the value will stick for the rest of the terminal session.

Have you tried to refresh your package lists (apt-get update)?

If that doesn't help you can always try to download the missing packages manually from packages.ubuntu.com but it can be quite a nuisance with dependencies and requires some prior experience of how to handle package conflicts and breakage that might occur when using dpkg directly.
Volvo 740 GLT -89, B234F MS3+MS3X Full-Sequential / Wasted Spark
User avatar
kristian
Helpful MS/Extra'er
 
Posts: 96
Joined: Fri Sep 02, 2011 9:25 pm
Location: Visby, Sweden

Re: Compiler build tools (2012)

Postby MS2tester » Tue Mar 26, 2013 6:55 am

with apt update don,t i get a kernel update into the buggy kernel?
but i will try anyway if things get broken i will do a reinstall
MS2tester
Master MS/Extra'er
 
Posts: 440
Joined: Sat Apr 11, 2009 12:54 pm
Location: Aalsmeer the netherlands

Re: Compiler build tools (2012)

Postby MS2tester » Tue Mar 26, 2013 7:39 am

this from my office pc which did not run the ubuntu update in question
also 64 bit install

ronald@ronald-System-Product-Name:~$ ldd /usr/bin/m68hc11-elf-gcc
linux-gate.so.1 => (0xf776f000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf75a7000)
/lib/ld-linux.so.2 (0xf7770000)
ronald@ronald-System-Product-Name:~$

i will try to do an install with the original 12.04 64 bit without the kernel updates
MS2tester
Master MS/Extra'er
 
Posts: 440
Joined: Sat Apr 11, 2009 12:54 pm
Location: Aalsmeer the netherlands

Re: Compiler build tools (2012)

Postby kristian » Tue Mar 26, 2013 8:05 am

apt-get update is not the same as apt-get upgrade.
apt-get update just updates the lists used when issuing apt-get install [PACKAGE]. apt-get upgrade on the other hand installs all available updates.

If you have the other installation left you should be able to boot with the old kernel. Ubuntu doesn't remove them when installing updates.
Try to press up or down just before ubuntu boots that should give you the option to choose the older kernel.
Volvo 740 GLT -89, B234F MS3+MS3X Full-Sequential / Wasted Spark
User avatar
kristian
Helpful MS/Extra'er
 
Posts: 96
Joined: Fri Sep 02, 2011 9:25 pm
Location: Visby, Sweden

Re: Compiler build tools (2012)

Postby MS2tester » Tue Mar 26, 2013 8:13 am

thank you for pointing that out
when i did the 12.04.2 upgrade i opted to use the whole hard drive
so the other versions are gone
i will try the apt-get upgrade
must be getting tired
MS2tester
Master MS/Extra'er
 
Posts: 440
Joined: Sat Apr 11, 2009 12:54 pm
Location: Aalsmeer the netherlands

Re: Compiler build tools (2012)

Postby MS2tester » Tue Mar 26, 2013 12:01 pm

finally success
did a complete fresh install of ubuntu 12.04.2 LTS
got all the update,s but unticked the kernel update,s
then installed " Wine " program from the software center
this probably has the files you were referring to
downloaded the tools again an installed them as i did in this post
and the rest is history
may i thank the both of you very much
would not have found this without you
MS2tester
Master MS/Extra'er
 
Posts: 440
Joined: Sat Apr 11, 2009 12:54 pm
Location: Aalsmeer the netherlands

Re: Compiler build tools (2012)

Postby NArcher » Wed Apr 10, 2013 10:03 am

Does anyone know when a new revision of the build tools is coming out? I would like to take advantage of some of the new features available, but right now I have some custom CAN code (Thanks to James and Steve) running and don't want to go without gauges. Not trying to rush anyone, just asking
NArcher
Helpful MS/Extra'er
 
Posts: 55
Joined: Wed Mar 23, 2011 1:38 pm

Re: Compiler build tools (2012)

Postby jsmcortina » Wed Apr 10, 2013 3:42 pm

There are no newer build tools. Are you actually asking for newer firmware sourcecode ?

James
I can supply, repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 33990
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: Compiler build tools (2012)

Postby NArcher » Fri Apr 12, 2013 5:54 pm

jsmcortina wrote:There are no newer build tools. Are you actually asking for newer firmware sourcecode ?

James


Yes. Do you have an idea on timeframe for release? Thanks
NArcher
Helpful MS/Extra'er
 
Posts: 55
Joined: Wed Mar 23, 2011 1:38 pm

Re: Compiler build tools (2012)

Postby jsmcortina » Sat Apr 13, 2013 2:47 am

NArcher wrote:
jsmcortina wrote:There are no newer build tools. Are you actually asking for newer firmware sourcecode ?

James


Yes. Do you have an idea on timeframe for release? Thanks

I'm still awaiting feedback on 1.2.1 which has been close to zero. But also with the "piledriver CL issue" I want to get that resolved first.

James
I can supply, repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 33990
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: Compiler build tools (2012)

Postby shauer » Tue Jul 30, 2013 1:55 pm

I just installed the build tools on my Win7 laptop. I found that Cygwin 64 bit did not work, I got a mysterious build failure right away with no explanation. I then installed Cygwin 32 bit and the only additional package I installed was 'make'

MS3 1.2.3 source built first try with the 32 bit Cygwin and a diff of the released binary vs. my built showed no differences.

Not sure if the 64 bit issue has been documented somewhere, I didn't see it.
Steve Hauer
http://www.77e21.info
1977 BMW 320i with MAF, COP, IAC, Sequential fuel and spark, MS3 knock sensing
MS3 / MS3X / V3 mainboard, MS3 V1.5 a4
shauer
Experienced MS/Extra'er
 
Posts: 364
Joined: Wed Oct 05, 2005 10:39 am
Location: Rochester, NY USA

Re: Compiler build tools (2012)

Postby piledriver » Thu Dec 26, 2013 7:46 pm

jsmcortina wrote:
NArcher wrote:
jsmcortina wrote:There are no newer build tools. Are you actually asking for newer firmware sourcecode ?

James


Yes. Do you have an idea on timeframe for release? Thanks

I'm still awaiting feedback on 1.2.1 which has been close to zero. But also with the "piledriver CL issue" I want to get that resolved first.

James


I was never able to duplicate it once it warmed up... and even now that it's cold again, pre1.3A10 doesn't have the CL issue that I can tell.
Always doing things the hard way, MS2 sequential w/ v1.01 mainboard, LS2 coils. 80 mile/day commuter status.
piledriver
Super MS/Extra'er
 
Posts: 1640
Joined: Tue Oct 27, 2009 6:24 am
Location: Van Alstyne, Texas

Re: Compiler build tools (2012)

Postby kristian » Sat Jul 12, 2014 12:55 am

When building the ms3-1.3.2 source on osx I got the following error.
sed: RE error: illegal byte sequence


However it's easily avoided by using the C locale.
export LANG=C
make
or
LANG=C make


It's also possible to add LANG=C to the Makefile. Maybe something like this could be included in the next source release?
Code: Select all
--- Makefile.old   2014-07-12 09:47:10.000000000 +0200
+++ Makefile   2014-07-12 09:52:05.000000000 +0200
@@ -21,6 +21,8 @@
 # * ask on the www.msextra.com forum if you did not.
 # *
 
+LANG=C
+
 ifdef SYSTEMDRIVE
 BINDIR = c:/usr/bin
 else
Volvo 740 GLT -89, B234F MS3+MS3X Full-Sequential / Wasted Spark
User avatar
kristian
Helpful MS/Extra'er
 
Posts: 96
Joined: Fri Sep 02, 2011 9:25 pm
Location: Visby, Sweden

Previous

Return to MS3 Development

Who is online

Users browsing this forum: No registered users and 3 guests