I don't know how to execute a command within a folder. Can you tell me how to do this? Thanks! Larry --- On Tue, 12/8/09, Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx> wrote: > From: Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx> > Subject: Re: Larry, U.S.A. kernel 2.6.27-7-generic > To: "Larry Hager" <larrymeditates@xxxxxxxxx> > Cc: discuss@xxxxxxxxxxxxx > Date: Tuesday, December 8, 2009, 4:06 PM > Larry > > Before doing the make commands, you must be in the > folder martian-full-20080625 > Therein there will be shown by > $ ls > at least the files/ and/or folders/: > ChangeLog Cleaning.txt Concept > INSTALL kmodule Makefile > martian.h modem README > sample.txt scripts > > the "make something" commands must be executed in a folder > containg a > Makefile/makefile. > > MarvS > > > > > MarvS > > > > $ make clean > > On Tue, Dec 8, 2009 at 11:06 AM, Larry Hager <larrymeditates@xxxxxxxxx> > wrote: > > I tried entering the commands below and when I began > with $ make clean > > I got the message "No rule to make target 'clean' I > also tried cutting and pasting the commands as a whole but > with no success. What did I do wrong? > > > > > > Larry > > > > > > --- On Sun, 12/6/09, Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx> > wrote: > > > >> From: Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx> > >> Subject: Re: Larry, U.S.A. kernel > 2.6.27-7-generic > >> To: "Larry Hager" <larrymeditates@xxxxxxxxx> > >> Cc: discuss@xxxxxxxxxxxxx > >> Date: Sunday, December 6, 2009, 8:21 PM > >> Larry > >> > >> You must do the make commands within the folder > >> martian-full-20080625 > >> per illustration below. > >> > >> MarvS > >> > >> $ make clean > >> make -C kmodule/ clean > >> make[1]: Entering directory > >> > `/usr/src/pkg/martian/martian-full-20080625/kmodule' > >> make -C /lib/modules/2.6.28-16-generic/build > >> > M="/usr/src/pkg/martian/martian-full-20080625/kmodule" > >> clean > >> make[2]: Entering directory > >> `/usr/src/linux-headers-2.6.28-16-generic' > >> > >> > CLEAN /usr/src/pkg/martian/martian-full-20080625/kmodule/.tmp_versions > >> > >> > CLEAN /usr/src/pkg/martian/martian-full-20080625/kmodule/Module.symvers > >> make[2]: Leaving directory > >> `/usr/src/linux-headers-2.6.28-16-generic' > >> make[1]: Leaving directory > >> > `/usr/src/pkg/martian/martian-full-20080625/kmodule' > >> make -C modem/ clean > >> make[1]: Entering directory > >> > `/usr/src/pkg/martian/martian-full-20080625/modem' > >> RM OBJS > >> RM BINS > >> RM TOOLS > >> make[1]: Leaving directory > >> > `/usr/src/pkg/martian/martian-full-20080625/modem' > >> > >> Thus having cleaned out any old file debris, do > the compile > >> with > >> $ make all > >> make -C kmodule/ modules > >> make[1]: Entering directory > >> > `/usr/src/pkg/martian/martian-full-20080625/kmodule' > >> make -C /lib/modules/2.6.28-16-generic/build > >> > M="/usr/src/pkg/martian/martian-full-20080625/kmodule" > >> modules > >> make[2]: Entering directory > >> `/usr/src/linux-headers-2.6.28-16-generic' > >> CC [M] > >> > /usr/src/pkg/martian/martian-full-20080625/kmodule/martian.o > >> > /usr/src/pkg/martian/martian-full-20080625/kmodule/martian.c: > >> In > >> function ‘martian_isr’: > >> > /usr/src/pkg/martian/martian-full-20080625/kmodule/martian.c:131: > >> warning: value computed is not used > >> CC [M] > >> > /usr/src/pkg/martian/martian-full-20080625/kmodule/marsio.o > >> > /usr/src/pkg/martian/martian-full-20080625/kmodule/marsio.c:358: > >> warning: ‘mars_read_register_rem’ defined but > not used > >> > /usr/src/pkg/martian/martian-full-20080625/kmodule/marsio.c:371: > >> warning: ‘mars_write_register_rem’ defined but > not > >> used > >> CC [M] > >> > /usr/src/pkg/martian/martian-full-20080625/kmodule/mfifo.o > >> LD [M] > >> > /usr/src/pkg/martian/martian-full-20080625/kmodule/martian_dev.o > >> Building modules, stage 2. > >> MODPOST 1 modules > >> CC > >> > /usr/src/pkg/martian/martian-full-20080625/kmodule/martian_dev.mod.o > >> LD [M] > >> > /usr/src/pkg/martian/martian-full-20080625/kmodule/martian_dev.ko > >> make[2]: Leaving directory > >> `/usr/src/linux-headers-2.6.28-16-generic' > >> make[1]: Leaving directory > >> > `/usr/src/pkg/martian/martian-full-20080625/kmodule' > >> make -C modem/ all > >> make[1]: Entering directory > >> > `/usr/src/pkg/martian/martian-full-20080625/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 > >> CC core_if.o > >> CC coresubst.o > >> CC link.o > >> CC tweakrelocsdynamic.o > >> CC coreadd.o > >> CC elf386tweakrelocs > >> LD marscore.o > >> TWEAK marscore.o > >> LD martian_modem > >> make[1]: Leaving directory > >> > `/usr/src/pkg/martian/martian-full-20080625/modem' > >> > >> Lastly do the installation of the products with > root/adm > >> authority: > >> $ sudo make install > >> > >> On Sun, Dec 6, 2009 at 4:43 PM, Larry Hager <larrymeditates@xxxxxxxxx> > >> wrote: > >> > I've installed the packages. I then checked > the > >> martian file "install" which suggests starting > with $ make > >> all > >> > I got the message: "No rule to make target > 'all' > >> .Stop. Is this the right step to take next? > What should > >> I do now? > >> > > >> > Take care, > >> > > >> > Larry > >> > > >> > > >> > --- On Wed, 12/2/09, Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx> > >> wrote: > >> > > >> >> From: Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx> > >> >> Subject: Re: Larry, U.S.A. kernel > >> 2.6.27-7-generic > >> >> To: "Larry Hager" <larrymeditates@xxxxxxxxx> > >> >> Cc: discuss@xxxxxxxxxxxxx > >> >> Date: Wednesday, December 2, 2009, 8:22 > PM > >> >> Larry, > >> >> > >> >> The linux-libc-dev and libc6-dev must > be in > >> the > >> >> same folder, wherein > >> >> you execute > >> >> $ sudo dpkg -i lib*.deb > >> >> Your personal folder is OK. > >> >> The packages should be displayer by > >> >> $ ls *.deb > >> >> Note that $ is the command prompt, but > not part of > >> the > >> >> command: sudo > >> >> dpkg -i lib*.deb > >> >> > >> >> MarvS > >> >> > >> >> On Wed, Dec 2, 2009 at 11:12 PM, Larry > Hager > >> <larrymeditates@xxxxxxxxx> > >> >> wrote: > >> >> > I'm using Ubuntu 8.10 and trying to > set up a > >> modem and > >> >> was told to download packages: > linux-libc-dev and > >> libc6-dev. > >> >> I downloaded the files to my desktop > but when I > >> entered > >> >> the command $sudo dpkg -i lib*.deb I got > the > >> message: error > >> >> processing lib* (--install): cannot > access > >> archive: no such > >> >> file or directory. What am I doing > wrong? > >> >> > > >> >> > Thank you for your help! > >> >> > > >> >> > > >> >> > > >> >> > Take care, > >> >> > > >> >> > Larry > >> >> > > >> >> > > >> >> > > >> >> > > >> >> > >> > > >> > > >> > > >> > > >> > > > > > > > > >