Make problem: no rule to make target modules
i have dell xps 15z laptop with 64bit arch installed. i would like to install bbswitch, so i can use the optimus nvidia card. I downloaded from AUR the makefile and run makepkg. I got this error that i cannotfind out what is causing:
==> Starting build()...
make -C /lib/modules/3.2.8-1-ARCH/build M="$(pwd)" modules
make[1]: Entering directory `/lib/modules/3.2.8-1-ARCH/build'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/lib/modules/3.2.8-1-ARCH/build'
make: *** [default] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Can anyone help me please?
Last edited by Empy (2012-03-04 21:33:07)
Do you have linux-headers installed?
Similar Messages
-
Fsam7440 makepkg error - no rule to make modules
Hi there!
I'm trying to set up a wireless connection on an old Fujitsu Amilo M 7400
and i'm trying to install the fsam7440 module from the AUR,
to be able to control the wlan-switch.
I don't even know if it's gonna work, but it is the only idea i got so far.
When running makepkg, i get the error
make: *** /lib/moduels/3.8.4-1ARCH/build: No such file or directory. Stop
When i create the not-found build folder i get the error
make[1]: *** No rule to make target `modules'. Stop.
The package being flagged as "orphaned", i also tried to *make*
the package provided on the projects page,
getting the same error messages.
Any thoughts?
Thanks in advance!
LeventLast Updated: 2007-05-07 00:29
Fsam7440 is a module for Linux Kernel 2.4/2.6 that allows change the status of wireless card's radio on Fujitsu-Siemens Amilo M 7440.
that driver doesn't appear to have had any updates for almost 6 years.
you could try building 1 of the remaining 2.6 longterm (like 2.6.32.60) kernels from source. -
Rebuilding Qt4 - No rule to make target..
Hello!
I want to make an edit to one source file in qt4 from ABS. - it is gui/kernel/qclipboard_x11.cpp.
There's a 10.000 ms timeout, and I need to change it to something smaller, maybe 1.000 ms.
(It defines how long I have to wait after closing Okular, before I can start another instance. I tried to google a better solution, but there's no useful info.).
I've added a sed command to the PKGBUILD that does it, started the build, and it crashed with this:
make[1]: *** No rule to make target 'util/qabstractsystemtrayiconsys.cpp', needed by '.obj/release-shared/qabstractsystemtrayiconsys.o'. Stop.
make[1]: *** Waiting for unfinished jobs....
moc util/qcompleter.h
moc graphicsview/qgraphicswidget.h
make[1]: Leaving directory '/home/ondra/tmp/abs/src/qt-everywhere-opensource-src-4.8.6/src/gui'
Makefile:423: recipe for target 'sub-gui-make_default-ordered' failed
make: *** [sub-gui-make_default-ordered] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Also, I'm not too happy with having to rebuild the entire Qt, but maybe that's the only way to get my changes working.
Any idea how to fix this error?
For more details, the entire log from this failed build can be found here: http://pastebin.com/knkd3dA8
Last edited by MightyPork (2014-12-21 18:33:57)You're going to have to provide way more information - what does your project look like? Where did you get it? Did you write the makefile yourself?
-
[SOLVED] make: *** No rule to make target `kernelrelease'
Hi guys! My problem is similar this one Please help a newbie compile a kernel
I tried to compile kernel 2.6.33.9 by simply copying the PKGBUILD and other files into my workspace. Everything goes well but I cant make a package:
PKGBUILD:
pkgdesc="The Linux Kernel and modules with tuxonice support and rt-patchset"
depends=('coreutils' 'linux-firmware' 'module-init-tools>=3.16' 'mkinitcpio>=0,7')
optdepends=('crda: to set the correct wireless channels of your country')
pkgname=linux-rt-ice
backup=(etc/mkinitcpio.d/$pkgname.preset)
_kernelname=${pkgname#linux}
_basekernel=2.6.33
pkgver=${_basekernel}.9
#pkgver=${_basekernel}
pkgrel=1
arch=('i686' 'x86_64')
url="https://rt.wiki.kernel.org"
license=('GPL2')
install=$pkgname.install
provides=('kernel26-rt-ice')
conflicts=('kernel26-rt-ice')
replaces=('kernel26-rt-ice')
makedepends=('xmlto' 'docbook-xsl')
options=('!strip')
### User/Environment defined variables
enable_toi=${enable_toi:-0}
BFQ_IO_SCHEDULER="y"
bfs_scheduler=${bfs_scheduler:-0}
keep_source_code=${keep_source_code:-1}
gconfig=${gconfig:-0}
xconfig=${xconfig:-0}
menuconfig=${menuconfig:-1}
realtime_patch=${realtime_patch:-1}
local_patch_dir="${local_patch_dir:-}"
use_config="${use_config:-}"
use_config_gz=${use_config_gz:-0}
enable_reiser4=${enable_reiser4:-1}
### Compile time defined variables
### Files / Versions
#!file_rt="patch-3.0.14-rt31.patch.gz"
#!file_reiser4="reiser4-for-2.6.31.patch.bz2"
#file_toi="current-tuxonice-for-3.0.patch.bz2"
#file_bfs="2.6.38.3-sched-bfs-401.patch"
file_rt="patch-2.6.33.9-rt31.gz"
file_reiser4="reiser4-for-2.6.33.patch.gz"
file_bfs="2.6.33.7-sched-bfs-357.patch"
_bfqpath="http://algo.ing.unimo.it/people/paolo/disk_sched/patches/2.6.33/"
source=("ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${_basekernel}.tar.bz2"
"ftp://ftp.kernel.org/pub/linux/kernel/v2.6/longterm/v2.6.33/patch-2.6.33.9.gz"
http://www.kernel.org/pub/linux/kernel/projects/rt/2.6.33/patch-2.6.33.9-rt31.gz
# https://tglx.de/~tglx/rt/3.0/${file_rt}
http://sourceforge.net/projects/reiser4/files/reiser4-for-linux-2.6/reiser4-for-2.6.33.patch.gz
#http://www.tuxonice.net/files/${file_toi}
http://ck.kolivas.org/patches/bfs/${_basekernel}/${file_bfs}
# the main kernel config files
'config' 'config.x86_64'
# standard config files for mkinitcpio ramdisk
"${pkgname}.preset"
'change-default-console-loglevel.patch'
'i915-fix-ghost-tv-output.patch'
#BFQ patch:
"${_bfqpath}/0001-bfq_iosched-block-prepare_IO_context_code-v1-r1.patch"
"${_bfqpath}/0002-bfq_iosched-block-add_cgroups_kconfig_and_build_bits-v1-r1.patch"
"${_bfqpath}/0003-bfq_iosched-block-introduce_BFQ-v1-r1.patch")
md5sums=('c3883760b18d50e8d78819c54d579b00'
'6594052b26f8e79c374c278f62d3329b'
'772776957913e76492e3547b304b75c2'
'96f986418d1ab9b9abdcbfb2c20fdc0d'
'3b8ef39f43a1dab60ddc703049cb8ac2'
'540318683b69e49ab5fa629cfb32dc48'
'74d172143d448a002834879d99c3992c'
'7c9725208ab6834602c8b9d645ed001d'
'9d3c56a4b999c8bfbd4018089a62f662'
'263725f20c0b9eb9c353040792d644e5'
'69adc7f64f4dc5b34ad1cb3825b7c0f4'
'4146ee711eed553c024a93c766463583'
'678c791c7df57a71cdb480fdc49aec8d')
build() {
cd "${srcdir}/linux-${_basekernel}"
# add upstream patch
patch -p1 -i "${srcdir}/patch-${pkgver}"
if [ -n "${local_patch_dir}" ] && [ -d "${local_patch_dir}" ] ; then
echo "Applying patches from ${local_patch_dir} ..."
for my_patch in "${local_patch_dir}"/* ; do
echo -e "Applying custom patch:\t'${my_patch}'" || true
patch -Np1 -i "${my_patch}" || { echo -e "Failed custom patch:\t'${my_patch}'" ; return 1 ; }
done
fi
# Applying realtime patch
if [ "$realtime_patch" = "1" ]; then
echo "Applying real time patch"
# Strip './Makefile' changes
gzip -dc ${srcdir}/${file_rt} \
| sed '/diff --git a\/Makefile b\/Makefile/,/*DOCUMENTATION*/d' \
| patch -Np1 || { echo "Failed Realtime patch '${file_rt}'"; return 1 ; }
fi
# applying reiserfs4 patch
if [ "$enable_reiser4" = "1" ]; then
echo "Applying ${file_reiser4%.gz}"
gzip -dc ${srcdir}/${file_reiser4} | patch -Np1 || { echo "Failed reiser4 patch '${file_reiser4%.gz}'"; return 1 ; }
fi
# applying tuxonice patch
if [ "${enable_toi}" = "1" ]; then
echo "Applying ${file_toi%.bz2}"
# fix to tuxonice patch to work with rt
#if [ "$realtime_patch" = "1" ]; then
#bzip2 -dck ${srcdir}/${file_toi} \
#| sed '/diff --git a\/kernel\/fork.c b\/kernel\/fork.c/,/{/d' \
#| sed 's/printk(KERN_INFO "PM: Creating hibernation image:\\n/printk(KERN_INFO "PM: Creating hibernation image: \\n/' \
#| patch -Np1 || { echo "Failed TOI w/rt" ; return 1 ; }
#else
bzip2 -dck ${srcdir}/${file_toi} \
| sed 's/printk(KERN_INFO "PM: Creating hibernation image:\\n/printk(KERN_INFO "PM: Creating hibernation image: \\n/' \
| patch -Np1 -F4 || { echo "Failed TOI"; return 1 ; }
#fi
fi
if [ "${bfs_scheduler}" = "1" ] && [ "${realtime_patch}" = "0" ]; then
# applying BFS scheduler patch
echo "BFS scheduler patch not available yet, sorry"
# echo "Applying BFS scheduler patch"
# patch -Np1 -i ${srcdir}/${file_bfs} || { echo "Failed BFS"; return 1 ; }
fi
# --> BFQ
if [ $BFQ_IO_SCHEDULER = "y" ] ; then
msg "Patching source with BFQ patches"
for i in $(ls ${srcdir}/000*.patch); do
patch -Np1 -i $i
done
fi
# Some chips detect a ghost TV output
# mailing list discussion: http://lists.freedesktop.org/archives/intel-gfx/2011-April/010371.html
# Arch Linux bug report: FS#19234
# It is unclear why this patch wasn't merged upstream, it was accepted,
# then dropped because the reasoning was unclear. However, it is clearly
# needed.
#patch -Np1 -i "${srcdir}/i915-fix-ghost-tv-output.patch"
# set DEFAULT_CONSOLE_LOGLEVEL to 4 (same value as the 'quiet' kernel param)
# remove this when a Kconfig knob is made available by upstream
# (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227)
patch -Np1 -i "${srcdir}/change-default-console-loglevel.patch"
if [ "${CARCH}" = "x86_64" ]; then
cat "${srcdir}/config.x86_64" > ./.config
else
cat "${srcdir}/config" > ./.config
fi
# use custom config instead
if [ -n "${use_config}" ] ; then
echo "Using config: '${use_config}'"
cat "${use_config}" > ./.config
make oldconfig
fi
# use existing config.gz
if [ "$use_config_gz" = "1" ]; then
zcat /proc/config.gz > ./.config
make oldconfig
fi
if [ "${_kernelname}" != "" ]; then
sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_kernelname}\"|g" ./.config
fi
# set extraversion to pkgrel
sed -ri "s|^(EXTRAVERSION =).*|\1 -${pkgrel}|" Makefile
# hack to prevent output kernel from being marked as dirty or git
#chmod +x ${srcdir}/linux-${_basekernel}/scripts/setlocalversion
#sed 's/head=`git rev-parse --verify --short HEAD 2>\/dev\/null`/0/' \
# ${srcdir}/linux-${_basekernel}/scripts/setlocalversion \
# > ${srcdir}/linux-${_basekernel}/scripts/setlocalversion.new
#mv ${srcdir}/linux-${_basekernel}/scripts/setlocalversion.new \
# ${srcdir}/linux-${_basekernel}/scripts/setlocalversion
# get kernel version
make prepare
# load configuration
# Configure the kernel. Replace the line below with one of your choice.
if [ "$gconfig" = "1" ]; then
make gconfig
else
if [ "$xconfig" = "1" ]; then
make xconfig
else
if [ "$menuconfig" = "1" ]; then
make menuconfig
fi
fi
fi
yes "" | make config
make prepare # Necessary in case config has been changed
# build!
make ${MAKEFLAGS} bzImage modules
package_linux-rt-ice() {
KARCH=x86
cd ${srcdir}/linux-${_basekernel}
if [ "$keep_source_code" = "1" ]; then
echo -n "Copying source code..."
# Keep the source code
cd $startdir
mkdir -p $pkgdir/usr/src || return 1
cp -a ${srcdir}/linux-${_basekernel} $pkgdir/usr/src/linux-${_kernver} || return 1
#Add a link from the modules directory
mkdir -p $pkgdir/lib/modules/${_kernver} || return 1
cd $pkgdir/lib/modules/${_kernver} || return 1
rm -f source
ln -s ../../../usr/src/linux-${_kernver} source || return 1
echo "OK"
fi
# get kernel version
_kernver="$(make kernelrelease)"
mkdir -p "${pkgdir}"/{lib/modules,lib/firmware,boot}
make INSTALL_MOD_PATH="${pkgdir}" modules_install
cp arch/$KARCH/boot/bzImage "${pkgdir}/boot/vmlinuz-${pkgname}"
# add vmlinux
install -D -m644 vmlinux "${pkgdir}/usr/src/linux-${_kernver}/vmlinux"
# install fallback mkinitcpio.conf file and preset file for kernel
install -D -m644 "${srcdir}/${pkgname}.preset" "${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset"
# set correct depmod command for install
sed \
-e "s/KERNEL_NAME=.*/KERNEL_NAME=${_kernelname}/g" \
-e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" \
-i "${startdir}/${pkgname}.install"
sed \
-e "s|ALL_kver=.*|ALL_kver=\"/boot/vmlinuz-${pkgname}\"|g" \
-e "s|default_image=.*|default_image=\"/boot/initramfs-${pkgname}.img\"|g" \
-e "s|fallback_image=.*|fallback_image=\"/boot/initramfs-${pkgname}-fallback.img\"|g" \
-i "${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset"
echo -e "# DO NOT EDIT THIS FILE\nALL_kver='${_kernver}'" > ${pkgdir}/etc/mkinitcpio.d/${pkgname}.kver
# remove build and source links
rm -f "${pkgdir}"/lib/modules/${_kernver}/{source,build}
# remove the firmware
rm -rf "${pkgdir}/lib/firmware"
# gzip -9 all modules to save 100MB of space
find "${pkgdir}" -name '*.ko' -exec gzip -9 {} \;
# make room for external modules
ln -s "../extramodules-${_basekernel}${_kernelname:--rt-ice}" "${pkgdir}/lib/modules/${_kernver}/extramodules"
# add real version for building modules and running depmod from post_install/upgrade
mkdir -p "${pkgdir}/lib/modules/extramodules-${_basekernel}${_kernelname:--rt-ice}"
echo "${_kernver}" > "${pkgdir}/lib/modules/extramodules-${_basekernel}${_kernelname:--rt-ice}/version"
mkdir -p "${pkgdir}/lib/modules/${_kernver}"
cd "${pkgdir}/lib/modules/${_kernver}"
ln -sf ../../../usr/src/linux-${_kernver} build
cd "${srcdir}/linux-${_basekernel}"
install -D -m644 Makefile \
"${pkgdir}/usr/src/linux-${_kernver}/Makefile"
install -D -m644 kernel/Makefile \
"${pkgdir}/usr/src/linux-${_kernver}/kernel/Makefile"
install -D -m644 .config \
"${pkgdir}/usr/src/linux-${_kernver}/.config"
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include"
for i in acpi asm-generic config crypto drm generated linux math-emu \
media net pcmcia scsi sound trace video xen; do
cp -a include/${i} "${pkgdir}/usr/src/linux-${_kernver}/include/"
done
# copy arch includes for external modules
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/arch/x86"
cp -a arch/x86/include "${pkgdir}/usr/src/linux-${_kernver}/arch/x86/"
# copy files necessary for later builds, like nvidia and vmware
cp Module.symvers "${pkgdir}/usr/src/linux-${_kernver}"
cp -a scripts "${pkgdir}/usr/src/linux-${_kernver}"
# fix permissions on scripts dir
chmod og-w -R "${pkgdir}/usr/src/linux-${_kernver}/scripts"
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/.tmp_versions"
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/kernel"
cp arch/${KARCH}/Makefile "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/"
if [ "${CARCH}" = "i686" ]; then
cp arch/${KARCH}/Makefile_32.cpu "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/"
fi
cp arch/${KARCH}/kernel/asm-offsets.s "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/kernel/"
# add headers for lirc package
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video"
cp drivers/media/video/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/"
for i in bt8xx cpia2 cx25840 cx88 em28xx et61x251 pwc saa7134 sn9c102; do
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/${i}"
cp -a drivers/media/video/${i}/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/${i}"
done
# add docbook makefile
install -D -m644 Documentation/DocBook/Makefile \
"${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile"
# add dm headers
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/md"
cp drivers/md/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/md"
# add inotify.h
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include/linux"
cp include/linux/inotify.h "${pkgdir}/usr/src/linux-${_kernver}/include/linux/"
# add wireless headers
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/"
cp net/mac80211/*.h "${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/"
# add dvb headers for external modules
# in reference to:
# http://bugs.archlinux.org/task/9912
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core"
cp drivers/media/dvb/dvb-core/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core/"
# and...
# http://bugs.archlinux.org/task/11194
#mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/"
#cp include/config/dvb/*.h "${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/"
# add dvb headers for http://mcentral.de/hg/~mrec/em28xx-new
# in reference to:
# http://bugs.archlinux.org/task/13146
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/"
cp drivers/media/dvb/frontends/lgdt330x.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/"
cp drivers/media/video/msp3400-driver.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/"
# add dvb headers
# in reference to:
# http://bugs.archlinux.org/task/20402
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-usb"
cp drivers/media/dvb/dvb-usb/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-usb/"
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends"
cp drivers/media/dvb/frontends/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/"
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/common/tuners"
cp drivers/media/common/tuners/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/common/tuners/"
# add xfs and shmem for aufs building
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/fs/xfs"
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/mm"
cp fs/xfs/xfs_sb.h "${pkgdir}/usr/src/linux-${_kernver}/fs/xfs/xfs_sb.h"
# copy in Kconfig files
for i in `find . -name "Kconfig*"`; do
mkdir -p "${pkgdir}"/usr/src/linux-${_kernver}/`echo ${i} | sed 's|/Kconfig.*||'`
cp ${i} "${pkgdir}/usr/src/linux-${_kernver}/${i}"
done
chown -R root.root "${pkgdir}/usr/src/linux-${_kernver}"
find "${pkgdir}/usr/src/linux-${_kernver}" -type d -exec chmod 755 {} \;
# strip scripts directory
find "${pkgdir}/usr/src/linux-${_kernver}/scripts" -type f -perm -u+w 2>/dev/null | while read binary ; do
case "$(file -bi "${binary}")" in
*application/x-sharedlib*) # Libraries (.so)
/usr/bin/strip ${STRIP_SHARED} "${binary}";;
*application/x-archive*) # Libraries (.a)
/usr/bin/strip ${STRIP_STATIC} "${binary}";;
*application/x-executable*) # Binaries
/usr/bin/strip ${STRIP_BINARIES} "${binary}";;
esac
done
# remove unneeded architectures
if [ "$keep_source_code" = "0" ]; then
rm -rf ${pkgdir}/usr/src/linux-${_kernver}/arch/{alpha,arm,arm26,avr32,blackfin,cris,frv,h8300,ia64,m32r,m68k,m68knommu,mips,microblaze,mn10300,parisc,powerpc,ppc,s390,sh,sh64,sparc,sparc64,um,v850,xtensa}
fi
[ku@ku-la linux-rt-ice]$ makepkg -R
==> Making package: linux-rt-ice 2.6.33.9-1 (Sat Jan 21 13:33:09 NOVT 2012)
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting package_linux-rt-ice()...
Copying source code...OK
make: *** No rule to make target `kernelrelease'. Stop.
==> ERROR: A failure occurred in package_linux-rt-ice().
Aborting...
I remounted it with defaults options as stressed above topic and try again makepkg -R but still no joy
I looked at kernel.release
2.6.33-1-rt-ice
Any ideas?
Last edited by noMaster (2012-01-21 15:35:54)I suggested to build package again. And finally I got it. I guess the problem was in mounting options so was needed to began from the very start
-
CPAN - "No rule to make target ..."
I'm trying to install perl modules using CPAN on Snow Leopard Server. Regardless of what I attempt to install, I get the error:
No rule to make target `/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE/config.h', needed by `Makefile'. Stop.
It seems this means that I need the Perl header files. Where can I get/how can I install these files?
Thanks in advance for any assistance you can offer - I'm a newbie at using CPAN.lisfolks wrote:
Oh, and is there a particular order in which the .pkg files should be installed?
You shouldn't pick and choose anything in Xcode. Just install it all with the default options.
Unfortunately, I don't think I can help much. I use Perl mostly on Linux.
Also, you are using Snow Leopard Server. Perhaps Perl is installed in a different location. That seems unlikely, though. What directories do you have /System/Library/Perl? If your Perl install is incorrect, Xcode isn't going to help. The files you are missing are part of the OS install, not Xcode. -
Relinking forms executables results in "No rule to make target"
In the course of installing Forms 11.1.1.4 on weblogic 11gR1 (10.3.4), I ran into an issue after installing patch p9473270 (refer to Oracle Doc ID 1276725.1). The ERP system vendor recommends relinking the forms executables after applying this patch with the following commands:
Relink the Oracle forms binaries:
cd $ORACLE_HOME/forms/lib
make -f ins_forms.mk frmcmp_install
make –f ins_forms.mk frmbld_install
make –f ins_forms.mk frmcmpb_install
make –f ins_forms.mk frmweb_install
The second command resulted in an error:
$ make –f ins_forms.mk frmbld_install
make: *** No rule to make target `–f'. Stop.
After researching this issue, I tried the following command :
$ relink forms
This successfully relinked all forms executables.
-rwx------ 1 oracle dba 12510433 Jan 20 20:11 frmcmp
-rwx------ 1 oracle dba 20547 Jan 20 20:11 frmctrl
-rwx------ 1 oracle dba 13721638 Jan 20 20:11 frmcmp_batch
-rwx------ 1 oracle dba 12510975 Jan 20 20:11 frmbld
-rwx------ 1 oracle dba 15275747 Jan 20 20:11 frmweb
Any thoughts on the usage of "relink forms" vs. the make command? Or why I was encountering the error " No rule to make target"?
BillHi,
Please see {thread:id=2426792}, appears that 11gR2 is not certified on Linux 6.
Cheers, -
"No rule to make target" when compiling a C++ program under Winelib
I'm trying to compile a C++ program for Windows using Winelib, and it keeps exiting without doing anything with this message:
make: *** No rule to make target `windows.so', needed by `all'. Stop.
I don't think there's anything anywhere in the code or the makefile about "windows.so"... What is this about?You're going to have to provide way more information - what does your project look like? Where did you get it? Did you write the makefile yourself?
-
Error : ***no rule to make target all
Hi,
When I build my project in Qnx i encounter this error:
*** No rule to make target all
*** No rule to make target clean
it's an immediate question .please help me
thanks.
Message Edited by zamin on 09-03-2007 04:02 AMHi zamin-
Are you using the Makefile supplied with the MHDDK examples? Which examples are you trying to build? Are you attempting to build using 'make' from the command line, or from some sort of QNX development environment? If you are building from the command line, which directory are you in when you run 'make'?
Thanks-
Tom W
National Instruments -
No rule to make target ... ???
When running makepkg I get the following:
%makepkg
==> Making package: broadcom-wl 5.60.246.6-1 (Fri Dec 17 20:12:35 PST
2010)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found hybrid-portsrc_x86-64_v5.60.246.6.tar.gz
-> Found license.patch
-> Found semaphore.patch
==> Validating source files with sha1sums...
hybrid-portsrc_x86-64_v5.60.246.6.tar.gz ... Passed
license.patch ... Passed
semaphore.patch ... Passed
==> Extracting Sources...
-> Extracting hybrid-portsrc_x86-64_v5.60.246.6.tar.gz with bsdtar
==> Removing existing pkg/ directory...
==> Starting build()...
patching file src/wl/sys/wl_linux.c
patching file src/wl/sys/wl_iw.h
make: Entering directory `/usr/src/linux-2.6.36-ARCH'
make: *** No rule to make target `Setup/broadcom-wl/src'. Stop.
make: Leaving directory `/usr/src/linux-2.6.36-ARCH'
Aborting...
I can't figure out how to fix this. I'm not sure how to enter in a rule nor where to put it. I've had no issues installing this package in previous versions but for some reason after upgrading the kernel and trying to use the package from the AUR broadcom-wl 5.60.246.6-1 it refuses to work.
Any ideas?mwknowles92, don't cross-post: https://bbs.archlinux.org/viewtopic.php … 78#p867078
See: https://wiki.archlinux.org/index.php/Fo … ss-Posting
Closed. -
Hi !! I'm programming in sdk 13.1, device : virtex V ml 507, processor microblaze, it shows me this error :
make: *** No rule to make target `main.o', needed by `empty_application_0.elf'. Stop.I have a similar thing when I run a C Simulation for a OpenCL Kernel for matrix multiplication in Xilinx Vivado High Level Synthesis. My CSim.log is as follows:
Compiling(apcc) ../../../mat_multi_opencl_test.c in debug mode
@I [LIC-101] Checked out feature [VIVADO_HLS]
@I [HLS-10] Running 'f:/Xilinx/Vivado_HLS/2015.1/bin/unwrapped/win64.o/apcc.exe'
for user 'Pratheeksha' on host 'pratheeksha' (Windows NT_amd64 version 6.2) on Mon Jul 06 12:17:20 +0530 2015
in directory 'C:/Users/Pratheevivek1/Documents/mat_multi_opencl/solution1/csim/build'
@I [APCC-3] Tmp directory is apcc_db
@I [APCC-1] APCC is done.
@I [LIC-101] Checked in feature [VIVADO_HLS]
Compiling(apcc) matrix_mult_sdaccel.c in debug mode
@I [LIC-101] Checked out feature [VIVADO_HLS]
@I [HLS-10] Running 'f:/Xilinx/Vivado_HLS/2015.1/bin/unwrapped/win64.o/apcc.exe'
for user 'Pratheeksha' on host 'pratheeksha' (Windows NT_amd64 version 6.2) on Mon Jul 06 12:17:27 +0530 2015
in directory 'C:/Users/Pratheevivek1/Documents/mat_multi_opencl/solution1/csim/build'
@I [APCC-3] Tmp directory is apcc_db
@I [APCC-1] APCC is done.
@I [LIC-101] Checked in feature [VIVADO_HLS]
make: *** No rule to make target `tb_stub.c', needed by `obj/tb_stub.o'. Stop.
@E [SIM-1] CSim file generation failed: compilation error(s).
What seems to be the error? -
Hi and greetings to the Arch Community!
First of all, i have to explain myself.I switched from Gentoo, as it was great, but the compiling times convinced me of Arch!
The installation was a piece of cake, the installation took little time.Because the kernel loads the maximum amount of modules with ramdisk, i wanted to build my own customized Kernle.So after the first boot, i did pacman -Syu.It installed the newest kernle under /usr/src/kernel-2.6.17-arch.After i was finished with "make menuconfig".I did "make", but it was interrupted by the message "No rules to make".What the heck is going on.....
As i was trying a downloaded kernle sources, everthing ran flawlessly?!
As i came from Gentoo, perhaps i have a different and false thinking?kernel package doesn'T contain full sources, btw i would really recommend to use the stock kernel + initcpio that solves the loading of many modules and you don't need to compile the kernel yourself.
for more information check the news and wiki about initcpio. -
How to make af: query (ResultComponentId) has two target values?
hello all :D
i'm newbie in jdev, i have little problem with af:query.
how to make af: query (ResultComponentId) has two target values?
thx
agungdmt :DI think you can simply set the second target control's partialTrigger to the af:query.
and access to the same binding attribute as your first target. (e.g.: if you have 2 target tables, set the value to #{bindings.XxxxxVO1.collectionModel})
Samson Fu -
Building "xmoniz" patched compiz, no rule to make issue
I'm following this guide modified with squarehimself/tux_mark_5's tweaks
I get to step 6 of the original compiz guide
6. $ make (build)
7. $ [sudo] make install (install)
8. $ [sudo] make findcompiz_install
and get this error:
"no rule to make target install"
the contents of ~/compiz/build/ are:
cmake/ CPackConfig.cmake include/ po/
CMakeCache.txt CPackSourceConfig.cmake kde/ src/
CMakeFiles/ generated/ libdecoration/ xslt/
cmake_uninstall.cmake gtk/ metadata/
compiz.pc images/ plugins/
has anyone managed to get this working?Don't compile by hand. Modify the compiz-* PKGBUILDs instead. That's what I would do anyway.
-
How do i deactivate a device through icloud if the device is broken and i am unable to turn on find my iphone? Also i do not own a apple id as ive been using a family members due to problems when trying to make one?
Hey tyjox,
Thanks for the question. After reviewing your post, it sounds like you need to deactivate Find My iPhone on a device that does not work. You will need to work with the family member of the account the iPhone is registered with. I would recommend that you use this article to help you resolve or isolate the issue.
iCloud: Remove your device from Find My iPhone
http://support.apple.com/kb/PH2702
Remove an iOS device you no longer have
If you no longer have the iOS device because you gave it away or sold it, you need to remotely erase it before you can remove it.
Sign in to icloud.com/#find with your Apple ID (the one you use with iCloud).If you’re using another iCloud app, click the app’s name at the top of the iCloud.com window, then click Find My iPhone.
Click All Devices, then select the device.
Click Erase [device], then enter your Apple ID password. Because the device isn’t lost, don’t enter a phone number or message.If the device is offline, the remote erase begins the next time it’s online. You’ll receive an email when the device is erased.
When the device is erased, click Remove from Account.All your content is erased and someone else can now activate the device.
Thanks for using Apple Support Communities.
Have a nice day,
Mario -
How can I make compound mail rules in iCloud?
I love the control that rules give you in Apple Mail, or any mail client for that matter. I use them for everything to sort nearly every piece of email that comes in on a daily basis. From daily advertisements to receipts they all have their place. I used to run my rules directly on my iMac or MacBook, but they didn't seem to translate to my mobile devices. I was told that I needed to manage my rules in iCloud directly. I've been doing so and they work well for the most part, but I've recently encountered two limits that I can't get around without a combination of iCloud rules and local/mac based rules:
A. iCloud limits you to 99 rules.
Now I know this number is a lot and maybe I'm just too type A because I've hit that limit and have needed to delete old rules to make room for new ones.
2. iCloud rules only allow for one criteria. For example, the iTunes store sends me emails for weekly alerts and then sends me receipts for my purchases. I'd like to filter receipts to one folder and all other iTunes emails to another folder, but since they both come from the same email address I cannot do so. If I choose to filter by "has subject containing" and type in "Your receipt" I'll obviously grab receipts from ANY vendor, not just iTunes. I could go the other way and filter by the subject containing "My Alerts" and the others, but then I would have to make multiple rules for each individual subject coming from iTunes, hence using up more than one rule of my 99 rule limit.
I know this sounds picky and granular, but it's just frustrating when the rules are SO detailed on the local machine, but so basic in iCloud. Any plans to update the rules or make them more robust?
PhilipI'm afraid that whether or not there are any plans about this, Apple don't tell us. If they do decide to increase the facilities we will only know when they implement it. (And by the Terms of Us of these Discussions we are not allowed to speculate.)
Maybe you are looking for
-
Problem XML table in INdesign CS3 - coming in as tables not rows
hi I am creating a pricelist in Indesign CS3 with xml everyting is workin except when the xml imports it puts the data in seperate tables not in one table. I have 5 colums in a table of 1 row.I select the table & tag it story, then select the row & t
-
[10g] Way to find least value greater than a value?
I have a simple (I think) question ... Part 1: Is there a way to determine the least value, among a set of values, that is greater than 0? A couple of examples: Set of values: {0,1,2,3} Return value: 1 Set of values: {0,5,10,20,100} Return value: 5 S
-
Events cannot have multiple exceptions for the same date
I just starting getting this message and could not sync to one of my Google calendars. I'm posting this for others who might get the same problem. I didn't find the answer on these forums but did find it on this thread on Google: http://www.google.co
-
Problems with ipad 2 updating to latest update
Trying to update to latest version: finish hour long backup then problems on the internet, anyway to bypass backup next time?
-
Can't see destination folder option
I reinstalled LR and I no longer see "Destination" to select the folder I want the images to import to. Can someone help? Thank you!