To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / 771 (-10)
  Re: Can't get Linux NQC to compile/Run
 
(...) After installing the bison package from the Ret Hat 6.1 CD I now get the following. Even MORE errors then before... [root@linux SPECS]# rpm -bb nqc.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.26034 + umask 022 + cd /usr/src/RPM/BUILD + (...) (24 years ago, 14-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Re: Can't get Linux NQC to compile/Run
 
(...) Yep. Install the bison package. :) This is one of my gripes with mandrake, by the way. Their install program makes it very easy to not install stuff which you will actually want. (24 years ago, 13-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Re: Can't get Linux NQC to compile/Run
 
(...) Ok, I did as above and here is what I got along with an error message. [root@linux SPECS]# rpm -bb nqc.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.29920 + umask 022 + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf nqc-2.2.r1 + (...) (24 years ago, 13-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Re: Can't get Linux NQC to compile/Run
 
(...) Ok, well. In that case, let's assume that you have the compilers installed properly by now. :) Have you tried rebuilding the RPM? Download (URL), and install it as you would a binary RPM. Then look in /usr/src/RPM/SPECS/ and do "rpm -bb (...) (24 years ago, 13-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Re: Can't get Linux NQC to compile/Run
 
(...) I've just spent hours pouring though the RPM's installing anything to do with c++, c, gcc and egcs... But I still get the below error... nqc: error in loading shared libraries: nqc: undefined symbol: _t24__default_alloc_....free_list I'm at (...) (24 years ago, 13-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Re: Can't get Linux NQC to compile/Run
 
(...) Try `locate vector.h`. I'm not sure what package vector.h belongs to on Mandrake; on Red Hat 6.x, it's one of the egcs packages, but I know that gcc/egcs is one of the things Mandrake does differently. (24 years ago, 13-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Re: Can't get Linux NQC to compile/Run
 
(...) It couldn't find where vector.h lives. I'll have to hunt. Dean -- Coin-Op's For Sale!: (URL) Lego Workshop: (URL) Lego Club: (URL) (24 years ago, 12-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Re: newbie questions...
 
(...) Thanks. (...) I see... Anyway, there shouldn't be a great need to monitor the same event in different tasks, so it's not that important... Let's give LEGO the time to add this in the firmware then :) (...) Great! Stelian. (24 years ago, 12-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Re: Can't get Linux NQC to compile/Run
 
(...) You need to compile it as a C++ source file. There are ways to force C++ compilation of .c files, but its probably easier to just save it as test.cpp, then try: g++ test.cpp Assuming that the compiler knows where to find the C++ standard (...) (24 years ago, 12-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Re: Can't get Linux NQC to compile/Run
 
(...) I'm afraid I don't have a clue how to compile that one. I tried make test.c but, of course, that doesn't work. I also tried [tfm@linux tfm]$ gcc ./test.c ./test.c:1: vector.h: No such file or directory but not much luck there either. Dean -- (...) (24 years ago, 12-Sep-00, to lugnet.robotics.rcx.nqc)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR