Re: make error on martian

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



thanks. Have a safe travel.
On Sun, 2006-12-17 at 20:35 +0200, Jacques Goldberg wrote:
> Sorry Brad for delay: travelling.
> On one hand, Marv who knows much better than me has given to you a 
> different advice.
> But if you are still in the dark I would suggest to upgrade your version 
> of BASH but **ONLY** **AFTER** consulting your Linux distributor about 
> possible adverse effects.
> 
> Jacques
> 
> Brad smith wrote:
> > Good guess,
> > bash --version =
> > GNU bash, version 2.05b.0(1)-release (i386-pc-linux-gnu)
> > Copyright (C) 2002 Free Software Foundation, Inc.
> > 
> > On Fri, 2006-12-15 at 00:13 +0200, Jacques Goldberg wrote:
> >> Brad,
> >> Ah!
> >> Now, next question.
> >> Which version of the shell named   bash   is installed on your machine?
> >> To know, type    bash --version
> >> Why do I ask? Because the script tweakcore.sh located in subdirectory 
> >> modem uses the   bash  option   pipefail   which only exists as of
> >> bash Version 3.
> >> Your Linux distribution   "pa-cpq" is inknown to me. A kernel 2.6.8 
> >> should be distributed with bash Version 3.
> >> It is not impossible that you have several versions of bash in a non 
> >> standard Linux distribution as yours.
> >> So if you see a version 3 or above with command   bash --version  please 
> >> repeat the same command but typing    /bin/bash --version
> >> If the latter is less than 3, then  type     which bash
> >> and adjust the explicit path set in the first line of file
> >> modem/tweakcore.sh   to reflect the path to  the version of bash which 
> >> displayed 3 or above.
> >>
> >> My guess, JUST a guess, is that your /bin/bash is older than version 3, 
> >> thus the set -o pipefail is not understood, and the error codes which it 
> >> is meant to propagate are not correctly propagated in the script which 
> >> fools bookkeeping of the different modules.
> >>
> >> But remember please, just a GUESS.
> >>
> >> Jacques
> >>
> >> Jacques
> >>
> >> Brad smith wrote:
> >>> sorry about that. I am an idiot today.
> >>> martian-full-20061203.tar.gz
> >>> uname -a = Linux pa-cpq 2.6.8-2-386 #1 Tue Aug 16 12:46:35 UTC 2005 i686
> >>> GNU/Linux
> >>> Debian sarge is distro
> >>> gcc -v =
> >>> Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs
> >>> Configured with: ../src/configure -v --enable-languages=c,c+
> >>> +,java,f77,pascal,objc,ada,treelang --prefix=/usr --
> >>> mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-
> >>> dir=/usr/include/c++/3.3 --enable-shared --enable-__cxa_atexit --with-
> >>> system-zlib --enable-nls --without-included-gettext --enable-clocale=gnu
> >>> --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-
> >>> objc-gc i486-linux
> >>> Thread model: posix
> >>> gcc version 3.3.5 (Debian 1:3.3.5-13)
> >>>
> >>> thanks for the reply.
> >>> On Thu, 2006-12-14 at 19:59 +0200, Jacques Goldberg wrote:
> >>>> Brad,
> >>>> It would definitely help if you would also tell us:
> >>>> 1-which martian file you downloaded.
> >>>> 2-which Linux distribution you use and which compiler.
> >>>> For that please just type
> >>>> uname -a
> >>>> and
> >>>> gcc -v
> >>>> and report the output from these two commands.
> >>>>
> >>>> Best regards - Jacques
> >>>>
> >>>> Brad smith wrote:
> >>>>> I am getting this error, really stuck any help would be great.
> >>>>> Thanks in advance,
> >>>>>
> >>>>> pa-cpq:~/martian# make
> >>>>> make -C kmodule/ modules
> >>>>> make[1]: Entering directory `/root/martian/kmodule'
> >>>>> make -C /lib/modules/2.6.8-2-386/build M="/root/martian/kmodule"
> >>>>> modules
> >>>>> make[2]: Entering directory `/usr/src/kernel-headers-2.6.8-2-386'
> >>>>>   CC [M]  /root/martian/kmodule/martian.o
> >>>>>   CC [M]  /root/martian/kmodule/marsio.o
> >>>>>   CC [M]  /root/martian/kmodule/mfifo.o
> >>>>>   LD [M]  /root/martian/kmodule/martian_dev.o
> >>>>>   Building modules, stage 2.
> >>>>>   MODPOST
> >>>>>   CC      /root/martian/kmodule/martian_dev.mod.o
> >>>>>   LD [M]  /root/martian/kmodule/martian_dev.ko
> >>>>> make[2]: Leaving directory `/usr/src/kernel-headers-2.6.8-2-386'
> >>>>> make[1]: Leaving directory `/root/martian/kmodule'
> >>>>> make -C modem/ all
> >>>>> Try `uname --help' for more information.
> >>>>> make[1]: Entering directory `/root/martian/modem'
> >>>>>     CC  main.o
> >>>>>     CC  dumpers.o
> >>>>>     CC  log.o
> >>>>>     CC  session.o
> >>>>>     CC  mport.o
> >>>>>     CC  pty.o
> >>>>>     CC  sysdep.o
> >>>>>     CC  isr.o
> >>>>>     CC  smp.o
> >>>>> smp.c: In function `dump_affinity':
> >>>>> smp.c:258: warning: implicit declaration of function `__builtin_ctzl'
> >>>>>     CC  core_if.o
> >>>>>     CC  coresubst.o
> >>>>> coresubst.c: In function `mdual_port_rx':
> >>>>> coresubst.c:100: warning: `lastptr' might be used uninitialized in this
> >>>>> function
> >>>>>     CC  link.o
> >>>>>     CC  tweakrelocsdynamic.o
> >>>>>     CC  coreadd.o
> >>>>>     CC  elf386tweakrelocs
> >>>>>     LD  marscore.o
> >>>>>     TWEAK       marscore.o
> >>>>> ./tweakcore.sh: line 19: set: pipefail: invalid option name
> >>>>>     LD  martian_modem
> >>>>> smp.o(.text+0x6ca): In function `dump_affinity':
> >>>>> : undefined reference to `__builtin_ctzl'
> >>>>> smp.o(.text+0x761): In function `dump_affinity':
> >>>>> : undefined reference to `__builtin_ctzl'
> >>>>> collect2: ld returned 1 exit status
> >>>>> make[1]: *** [martian_modem] Error 1
> >>>>> make[1]: Leaving directory `/root/martian/modem'
> >>>>> make: *** [all] Error 2
> >>>>>
> 

[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux