Makefile.in Is New Than Makefile, You Need To Re-run Configure. False

I discovered that this question has been answered but, I tried to use the answers suggested by other people but they did not work out for me.

I tried to follow a tutorial, NS2: How to add new routing protocol, on http://elmurod.net/en/index.php/archives/157,
The following error was produced
Makefile.in is new than Makefile, you need to re-run configure. False
Make: *** [Makefile] Error 1


Similar Content



How To Add .so File To The Makefile(LINUX)

I want to add a TBB dynamic library in Makefile.
I m using .libirml.so in the makefile. It shows the error like that:libirml.so.1 file not recognized: File format not recognized

How to proceed further TO finish the task?

Ns-allinone-2.31 Make: *** [tools/random.o] Error 127

Hello,
this is my first question on this forum,hope to get a satisfactory answer.

i have ubuntu 9.10 installed on my laptop with ns-allinone-2.31.
i want to add a new module to NS2. i edited Makefile.in under
/home/ns-allinone-2.31/ns-2.31 directory. whenever i enter command
make -f Makefile.in
i get
make: *** [tools/random.o] Error 127
error.
i have gcc version 4.4.1.

i think some bug in ns-allinone-2.31 or some thing?

thanks

How To Write A Makefile With .c And .asm File

Hi,
I am working with Debian and gcc.

I have a single C file main.c, with some code in it.
For this trivial build, I am using the following Makefile:

Code:
SOURCES=main.c
CFLAGS=-c -w -gdwarf-4 -g3 -O0

LDFLAGS=
CC=

OBJECTS=$(SOURCES:.c=.o)
EXECUTABLE=myprogram

all: clean $(SOURCES) $(EXECUTABLE)

$(EXECUTABLE): $(OBJECTS)
	$(CC)gcc $(LDFLAGS) $(OBJECTS) -o $@

clean:
	rm -f $(EXECUTABLE) $(OBJECTS) $(MAKE)

.c.o:
	$(CC)gcc $(CFLAGS) $(LDFLAGS) $< -o $@

Now, in main.c, I want to use an assembly function, say myFunction which is implemented in the file function.asm.

My question is now: how do I build this? How do I modify the Makefile above to do this ?

Many thanks for your help!!!

PD.

Need Help, Compiling Hydra On Cygwin Make Error, Installed Packages But Still Get Err

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

Compile Error Rtl8192cus Version 4.0.2 (latest) On 4.0 Kernel Slackware Current

Using 4.0 kernel cannot compile realtek wireless driver rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911 I upplied the change to Makefile suggested Still I get compile error as follows

make[2]: *** [/tmp/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/rtw_android.o] Error 1
make[1]: *** [_module_/tmp/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911] Error 2
make[1]: Leaving directory `/usr/src/linux-4.0'
make: *** [modules] Error 2

Please help

How To Recover From A Botched Graphics Card Driver Install

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

I'm New To Linux....questions Compiling A Small Source Code

Hi Everybody.....
I'm new to this site and new to Linux ( Ubuntu 12.04) generally. I am an old goat mechanical engineer with years of electronic instrumentation design experience. I am connecting several of my old HP digital oscilloscopes and logic analyzers to a Ubuntu box via GPIB (ieee 488) interface. I have the interface working well using the open source ( Sourceforge) "Linux-GPIB" kernel module. I can remotely control the instruments using "Linux-GPIB"'s "ibterm" terminal utility. However "ibterm" doesn't provide a means to do a scope screen dump to a file. A guy on EEBLOG published a short C language 30 line source code to perfome this function. Unfortunately it isn't a package with makefile.am, makefile .in, configure etc which I understand I could compile using the typical ./config, make, checkinstall procedure. It is just the c source code text. Soooo.....do I use gcc directly? If so, how do I run gcc in a manner to be able to uninstall all the various files it will make? Or ?? What is the procedure for automake in this situation ? Or....? I'm kind of lost. Your suggestions would be helpful.
Cheers.
Alan Jacobs
Green Bay, Wisconsin USA

Unable To Install Driver

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

Module Verification Failed: Signature And/or Required Key Missing - Tainting Kernel

Hello! Who can help me? I remenber this problem have never occured when I was using CentOS 6.4. This time I am using Fedora 19 and problem occured as follow.
[ultrabird@PanFu Downloads]$ ls
dnw-linux-v1.01.tar.gz xdnw-0.5.1.tar.gz
[ultrabird@PanFu Downloads]$ mkdir dnw-linux && tar -zxf dnw-linux-v1.01.tar.gz -C dnw-linux
[ultrabird@PanFu Downloads]$ cd dnw-linux/
[ultrabird@PanFu dnw-linux]$ ls
dnw.rules logo.png Makefile README src
[ultrabird@PanFu dnw-linux]$ cd src/driver/
[ultrabird@PanFu driver]$ ls
Makefile secbulk.c
[ultrabird@PanFu driver]$ make -C /lib/modules/`uname -r`/build M=`pwd` modules
make: Entering directory `/usr/src/kernels/3.10.10-200.fc19.i686'
CC [M] /home/ultrabird/Downloads/dnw-linux/src/driver/secbulk.o
/home/ultrabird/Downloads/dnw-linux/src/driver/secbulk.c: In function ‘secbulk_write’:
/home/ultrabird/Downloads/dnw-linux/src/driver/secbulk.c:60:96: warning: comparison of distinct pointer types lacks a cast [enabled by default]
to_write = min(len, BULKOUT_BUFFER_SIZE);
^
Building modules, stage 2.
MODPOST 1 modules
CC /home/ultrabird/Downloads/dnw-linux/src/driver/secbulk.mod.o
LD [M] /home/ultrabird/Downloads/dnw-linux/src/driver/secbulk.ko
make: Leaving directory `/usr/src/kernels/3.10.10-200.fc19.i686'
[ultrabird@PanFu driver]$ ls
Makefile Module.symvers secbulk.ko secbulk.mod.o
modules.order secbulk.c secbulk.mod.c secbulk.o
[ultrabird@PanFu driver]$ sudo insmod ./secbulk.ko
[sudo] password for ultrabird:
[ultrabird@PanFu driver]$ dmesg | grep secbulk
[ 438.172811] secbulk: module verification failed: signature and/or required key missing - tainting kernel
[ 438.174533] secbulk:secbulk loaded
[ 438.174660] usbco registered new interface driver secbulk
[ultrabird@PanFu driver]$ uname -a
Linux PanFu 3.10.10-200.fc19.i686 #1 SMP Thu Aug 29 19:25:53 UTC 2013 i686 i686 i386 GNU/Linux

dnw is a download tool for ARM. Maybe secbulk is it's driver. I don't know much about it. Any help would be appreciated. Thanks!

Xlib: Connection To ":0.0" Refused By Server Xlib: No Protocol Specified

hi all,
I'm new here.
I have similar problem with running a C project that uses GLUT/OpenGL graphics...


every run result with the two lines:

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

sometimes the graphics works ok sometimes there is an infinite loop, but every execution result with the two lines above.

what is the meaning of these 2 lines?
Is it an Error or Warning?
How can I fix the code?

My guess is that there is a fundamental problem with the graphics Glut Library...Or that I didn't write the MakeFile OK

Please help me, I would extremly appriciate it.
Jonathan

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified