no make target specified and no make file found
Hi.
Running Suse 10.1 on an x86_64 machine. Trying to install a program and having some difficulty. The program is codeco 3.3. It's a format conversion program used for converting seismic waveforms such that they can be analysed by different analysis packages.
http://www.seismo.ethz.ch/products/s...3/codeco3.html
My debugging skills aren't up to much and I'm hoping someone might be able to help me out with the error. The steps involved in the installation of the package a
1. Download, gunzip and untar.
2. make config
> jp@linux:/usr/local/codeco> make config
(cd src; ./conf.csh)
found system Linux
found compiler
...this is ok, but
3. make
>jp@linux:/usr/local/codeco> make
(cd src; make)
make[1]: Entering directory `/usr/local/codeco/src'
o ../bin/codeco codecomain.f gse_io.f codecoutil.f compdecomp.f sacsub.f sac_io.f mseed_io.f css_io. today.f utmepo.f epoutm.f
make[1]: o: Command not found
make[1]: [codeco] Error 127 (ignored)
make[1]: Leaving directory `/usr/local/codeco/src'
The src code itself is written in fortran and I'm using the Intel fortran compiler version 9.0.031.
I'm at a loss as to the meaning of the above error...my knowledge of linux and software installation still not very good!
Thanks
Hi,
I have a target board running embedded Linux, and a host PC that runs Ubuntu. I want to be able to transfer files from the host PC to the target board through serial interface, (something like I have a terminal program on the host side that talks to the target, and I issue some command from the terminal to transfer a file to the target, the target receive the file and store it in some RAM location for later), How can I do it?
I know how to do this using ymodem on the host terminal and loady on target's u-boot command prompt, but how can I do it when target is running Linux?
Thank you all,
Wei
Hi im extremely new to theese things and spent all night trying to do this since, my dad wont let me login to the router so i can forward my ps4 ports, since i expereience extreme delay in gameplay about 1/4 of a second, so im trying to use hydra on cygwin so far i gotten to make step, but i keep getting this error code,
gcc -I. -Wall -O2 -o pw-inspector pw-inspector-logo.o pw-inspector.c
gcc: error: pw-inspector-logo.o: No such file or directory
Makefile:61: recipe for target 'pw-inspector' failed
make: [pw-inspector] Error 1 (ignored)
gcc -I. -Wall -O2 -c hydra-vnc.c -DHAVE_MATH_H
gcc: error: spawn: No such file or directory
Makefile:64: recipe for target 'hydra-vnc.o' failed
make: *** [hydra-vnc.o] Error 1
now do i need to download any packages? or another command please help me out im so close but im only learnt this over night! it would be extremely gratefull
hi,
Because i am cross compiling busybox for an arm board and can't install directy busybox on it (it don't have apt-get/sudo/make) i tried to compile busybox with arm-linux-gcc and "make" it in a custom directory with /usr/ /bin/ sbin/ this way i could copy paste the folder and the exe in a clean root and transfert this root to my board.
Sadly i don't seems to be able to change the installation patch.
i tried with :
Code:
make install PREFIX=/home/blabla1/blabla2/blabla3
but when going into the blabla3 folder i find no file (/usr/ /bin/ and /sbin/ are present because i created them myself).
./configure can't be used because the file don't exist.
Any idea on how i could change the installation patch ?
Hi everyone (i hope this is the right section)
Im trying to install the RT patch preempt_rt 3.18.9 im running Ubuntu 14.04 with kernel v 3.16
i installed the rt patch "patch-3.18.9-rt5.patch" and also a new kernel "3.18.9" i patched the patch file with
patch -p1 < patch-3.18.9.patch
but there is somthing i don't know about linking folders of old kernel and new kernel, i searched about it and found
rm -rf linux && ln -s /usr/src/linux-3.18.9 linux && cd /usr/src/linux
then
make oldconfig
then
make menuconfig
i selected Full preemptive kernel then
make
then this error
cc1: some warnings being treated as errors make[2]: * [kernel/locking/locktorture.o] Error 1 make[1]: * [kernel/locking] Error 2 make: *** [kernel] Error 2
So..... Any help?? can someone walk me through this
or any other real time patch, Thanx.. plzzzzzz
I downloaded tslib-1.1.tar.gz and configured to cross compiled for my ARM target machine.
Was able to build and make install on my Ubuntu host machine successfully. On my taget machine I copied created a backup of my original libts-1.0.so.0.0.0 and SFTP'd from my host the version I built to my target machine and over wrote current libts-1.0.so.0.0.0 to keep the links.
reboot my taget and now get
QWSTslibMouseHandlerPrivate: ts_config() failed with error: 'No such file or directory'
Please check your tslib installation!
running ldd on the taget against the backup (.bu version) and new versions shows the same dependancies.
root@at91sam9m10g45ek:~# ./ldd /usr/lib/libts-1.0.so.0.0.0
libdl.so.2 => /lib/libdl.so.2 (0x4000b000)
libc.so.6 => /lib/libc.so.6 (0x40016000)
/lib/ld-linux.so.3 (0x2a000000)
root@at91sam9m10g45ek:~# ./ldd /usr/lib/libts-1.0.so.0.0.0.bu
libdl.so.2 => /lib/libdl.so.2 (0x4000b000)
libc.so.6 => /lib/libc.so.6 (0x40016000)
/lib/ld-linux.so.3 (0x2a000000)
Using nm verified ts_config() existed in the new version.
Any suggestions why I am getting the error?
Hi, I am trying to install a smartcard reader driver onto my ubuntu machine. I am not able run the make file.
The output of makefile is as follows:
Code:
amit@ubuntu:~/Downloads/Linux Driver/rts_pstor$ sudo make
sed "s/RTSX_MK_TIME/`date +%y.%m.%d.%H.%M`/" timestamp.in > timestamp.h
cp -f ./define.release ./define.h
make -C /lib/modules/3.16.0-36-generic/build SUBDIRS=/home/amit/Downloads/Linux Driver/rts_pstor modules
make[1]: Entering directory `/usr/src/linux-headers-3.16.0-36-generic'
arch/x86/Makefile:136: CONFIG_X86_X32 enabled but no binutils support
Makefile:652: Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR: -fstack-protector not supported by compiler
make[1]: *** No rule to make target `Driver/rts_pstor'. Stop.
make[1]: Leaving directory `/usr/src/linux-headers-3.16.0-36-generic'
make: *** [default] Error 2
amit@ubuntu:~/Downloads/Linux Driver/rts_pstor$
The make file for this driver is as follows:
Code:
TARGET_MODULE := rts_pstor
EXTRA_CFLAGS := -Idrivers/scsi
obj-m += $(TARGET_MODULE).o
$(TARGET_MODULE)-objs := rtsx.o rtsx_chip.o rtsx_transport.o rtsx_scsi.o rtsx_card.o \
general.o sd.o xd.o ms.o spi.o
default:
sed "s/RTSX_MK_TIME/`date +%y.%m.%d.%H.%M`/" timestamp.in > timestamp.h
cp -f ./define.release ./define.h
make -C /lib/modules/$(shell uname -r)/build SUBDIRS=$(shell pwd) modules
debug:
sed "s/RTSX_MK_TIME/`date +%y.%m.%d.%H.%M`/" timestamp.in > timestamp.h
cp -f ./define.debug ./define.h
make -C /lib/modules/$(shell uname -r)/build SUBDIRS=$(shell pwd) modules
install:
cp $(TARGET_MODULE).ko /lib/modules/$(shell uname -r)/kernel/drivers/scsi -f
clean:
rm -f *.o *.ko
rm -f $(TARGET_MODULE).mod.c
Please let me know any of your comments.
Thanks,
Amit
OK,
Lastnight I decided to finally attempt to install the dedicated ATI/AMD Catylist drivers. After all I was successfull with the HP drivers, right...
No matter which grub selection I make, getting in is broken, except of course for the Windows XP Pro x64 entry, that works just fine. I'm here with you today, because of the Fedora 21 Live DVD, (slooooww).
Here is the drivers log file:
==========================================================
Supported adapter detected.
Check if system has the tools required for installation.
Uninstalling any previously installed drivers.
Unloading radeon module...
rmmod: ERROR: Module radeon is in use
Unloading drm module...
rmmod: ERROR: Module drm is in use by: ttm drm_kms_helper radeon
[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Message] Kernel Module : Found kernel module build environment, generating kernel module now.
AMD kernel module generator version 2.1
doing Makefile based build for kernel 2.6.x and higher
rm -rf *.c *.h *.o *.ko *.a .??* *.symvers
make -C /lib/modules/3.18.3-201.fc21.x86_64/build SUBDIRS=/usr/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory '/usr/src/kernels/3.18.3-201.fc21.x86_64'
CC [M] /usr/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/usr/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:6396:12: warning: ‘KCL_fpu_save_init’ defined but not used [-Wunused-function]
static int KCL_fpu_save_init(struct task_struct *tsk)
^
CC [M] /usr/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o
/usr/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c: In function ‘KCL_ACPI_Slot_No_Hotplug’:
/usr/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:845:21: error: ‘struct acpi_device_flags’ has no member named ‘no_hotplug’
tdev->flags.no_hotplug = true;
^
scripts/Makefile.build:257: recipe for target '/usr/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o' failed
make[2]: *** [/usr/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o] Error 1
Makefile:1385: recipe for target '_module_/usr/lib/modules/fglrx/build_mod/2.6.x' failed
make[1]: *** [_module_/usr/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory '/usr/src/kernels/3.18.3-201.fc21.x86_64'
Makefile:88: recipe for target 'kmod_build' failed
make: *** [kmod_build] Error 2
build failed with return value 2
[Error] Kernel Module : Failed to compile kernel module - please consult readme.
[Reboot] Kernel Module : dracut
==========================================================
I just rebooted without attempting to configure the card, as per the ATI/AMD warning stating that it's important to do so, because my thinking was derailed due to seeing errors, and the install program said I needed to reboot. Afterall, I just couln't believe that with a "Failed to compile kernel module" error, it would actually keep the changes I'd made, that surely Linux had a failsafe in place for such circumstances. In other words, I'm also a newbie, and just don't know how many hoops of fire one has to jump through to be at peace with linux.
Can anyone please help be get back into my install, I've already set up so many things, there's just got to be a way, right?
Thanks in Advance!
JustAnotherHuman
Trying to install software/drivers for wireless dongle on my Fedora Linux box. I have downloaded and expanded my files into my /home/me/Downloads.
In my example: /home/cjh/Downloads/LinuxDriver4Fedora_v2.5.0.3
This is where the make file is.
I run make and get an error:
"make -C /lib/modules/3.4.2-1.fc16.i686/build SUBDIRS=/home/cjh/Downloads/LinuxDriver4Fedora_v2.5.0.3/os/linux modules
make: *** /lib/modules/3.4.2-1.fc16.i686/build: No such file or directory. Stop.
make: *** [LINUX] Error 2"
The directory "/home/cjh/Downloads/LinuxDriver4Fedora_v2.5.0.3/os/linux" does exist.
What am I missing? I have run it as myself and root and get the same error.
Any assistance greatly appreciated.
TIA,
Skip
I have installed Linux 3.5 kernel and have compiled e2fsprogs as well. I have my own version of ext3 file system - lets say it is myfs. I have compiled myfs as well. Now I have few questions:
1.How to insert myfs module and where? When I do modprobe myfs (.ko file) it says module not found. When I simply do insmod myfs.ko it works but I am not sure where is it putting the .ko file. Also the displays I have added (on mkdir call) are not showing up (kernel debug level is also set to 8) when I try to create a directory in mounted folder
Makefile in myfs directory looks like this:
KERNEL_TREE ?= /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
obj-m := iext3.o
iext3-objs := balloc.o bitmap.o dir.o file.o fsync.o ialloc.o inode.o \
ioctl.o namei.o super.o symlink.o hash.o resize.o ext3_jbd.o \
xattr.o xattr_user.o xattr_trusted.o acl.o xattr_security.o icefs.o \
transaction.o commit.o recovery.o checkpoint.o revoke.o journal.o
all:
make -C $(KERNEL_TREE) M=$(PWD) modules
clean:
rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c .tmp_versions *.markers *.order *.symvers
and I am compiling myfs from my own directory: /home/myname/soft/myfs.
Also, I don't see any ext2/ext3/ext4 directories in /lib/modules/linuxversion/kernel/fs/ -- not sure if this is right or wrong.
2.Mount is working fine. I can see myfs is mounted on /dev/sda3 by doing df -a. When I unmount It says - umount: /home/..../mnt: not mounted and then if I do df -a the file system is unmounted. This is strange as its unmounting but still throwing error.
Some Background: Directory where I have everything: /home/soft myfs/ mye2fs/ Linux-3.5/ mnt/
Step1: cd Linux-3.5 --> 1) make 2) make modules 3) make modules_install 4) make install 5) reboot
Step2: compile myfs (my version of ext3) and insert the myfs kernel module --> cd myfs/ --> make --> insmod myfs.ko
Step3: compiled mye2fs for mkfs
Step4: use mye2fs to create myfilesystem on a device --> mount --> test printk statements put under myfs modules