[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: "Target pattern contains no %"
From: |
Sathish Kumar Govindasamy |
Subject: |
RE: "Target pattern contains no %" |
Date: |
Thu, 9 Apr 2009 14:07:07 +0530 |
Hi,
There are two instances where it fails in 3.81 version. Both the
captures are given
Below.
It fails at the linking stage as shown in below capture1. This worked in
3.80 version
of make.
============================= Capture-1 Start
====================================
make[2]: Leaving directory
`E:/Projects/NEC/Source/cardbase_0.1_3April/platform/
cpu_sub/src/driver_mpc8568/nor_flash/bsp-freescale-cdsmpc85xx_libmtd-fla
sh'
make -I C:/QNX640/target/qnx6/usr/include -C
src/driver_mpc8568/nor_flash/bsp-fr
eescale-cdsmpc85xx_devf-generic_driver all
make[2]: Entering directory
`E:/Projects/NEC/Source/cardbase_0.1_3April/platform
/cpu_sub/src/driver_mpc8568/nor_flash/bsp-freescale-cdsmpc85xx_devf-gene
ric_driv
er'
make -j 1 -Cgeneric -fMakefile all
make[3]: Entering directory
`E:/Projects/NEC/Source/cardbase_0.1_3April/platform
/cpu_sub/src/driver_mpc8568/nor_flash/bsp-freescale-cdsmpc85xx_devf-gene
ric_driv
er/generic'
make -j 1 -Cppc -fMakefile all
make[4]: Entering directory
`E:/Projects/NEC/Source/cardbase_0.1_3April/platform
/cpu_sub/src/driver_mpc8568/nor_flash/bsp-freescale-cdsmpc85xx_devf-gene
ric_driv
er/generic/ppc'
make -j 1 -Cbe -fMakefile all
make[5]: Entering directory
`E:/Projects/NEC/Source/cardbase_0.1_3April/platform
/cpu_sub/src/driver_mpc8568/nor_flash/bsp-freescale-cdsmpc85xx_devf-gene
ric_driv
er/generic/ppc/be'
C:/QNX640/host/win32/x86/usr/bin/rm -f
E:/Projects/NEC/Source/cardbase_0.1_3Apr
il/platform/cpu_sub/src/driver_mpc8568/nor_flash/bsp-freescale-cdsmpc85x
x_devf-g
eneric_driver/generic/ppc/be/devf-generic
C:/QNX640/host/win32/x86/usr/bin/qcc -Vgcc_ntoppc -Wl,--no-keep-memory
-oE:/Pr
ojects/NEC/Source/cardbase_0.1_3April/platform/cpu_sub/src/driver_mpc856
8/nor_fl
ash/bsp-freescale-cdsmpc85xx_devf-generic_driver/generic/ppc/be/devf-gen
eric
generic_close.o generic_main.o generic_open.o generic_page.o
generic
_status.o -L . -L
E:/Projects/NEC/Source/cardbase_0.1_3April/platform/cpu_sub/
src/driver_mpc8568/nor_flash/bsp-freescale-cdsmpc85xx_devf-generic_drive
r/../bsp
-freescale-cdsmpc85xx_libmtd-flash/ppc/a.be -L
E:/Projects/NEC/Source/cardbase_0
..1_3April/platform/cpu_sub/src/driver_mpc8568/nor_flash/bsp-freescale-cd
smpc85xx
_devf-generic_driver/../bsp-freescale-cdsmpc85xx_prebuilt/ppcbe/lib -L
E:/Projec
ts/NEC/Source/cardbase_0.1_3April/platform/cpu_sub/src/driver_mpc8568/no
r_flash/
bsp-freescale-cdsmpc85xx_devf-generic_driver/../bsp-freescale-cdsmpc85xx
_prebuil
t/ppcbe/usr/lib -L C:/QNX640/target/qnx6/ppcbe/lib -L
C:/QNX640/target/qnx6/ppcb
e/usr/lib -Wl,--rpath-link . -Wl,--rpath-link
E:/Projects/NEC/Source/cardbase_0
..1_3April/platform/cpu_sub/src/driver_mpc8568/nor_flash/bsp-freescale-cd
smpc85xx
_devf-generic_driver/../bsp-freescale-cdsmpc85xx_libmtd-flash/ppc/a.be
-Wl,--rpa
th-link
E:/Projects/NEC/Source/cardbase_0.1_3April/platform/cpu_sub/src/driver_m
pc8568/nor_flash/bsp-freescale-cdsmpc85xx_devf-generic_driver/../bsp-fre
escale-c
dsmpc85xx_prebuilt/ppcbe/lib -Wl,--rpath-link
E:/Projects/NEC/Source/cardbase_0.
1_3April/platform/cpu_sub/src/driver_mpc8568/nor_flash/bsp-freescale-cds
mpc85xx_
devf-generic_driver/../bsp-freescale-cdsmpc85xx_prebuilt/ppcbe/usr/lib
-Wl,--rpa
th-link C:/QNX640/target/qnx6/ppcbe/lib -Wl,--rpath-link
C:/QNX640/target/qnx6/p
pcbe/usr/lib -lfs-flash3 -lmtd-flash -lpm -lps -EB
generic_main.o:(.data+0x4): undefined reference to `f3s_aCFI_ident'
generic_main.o:(.data+0x8): undefined reference to `f3s_a29f040_reset'
generic_main.o:(.data+0x28): undefined reference to `f3s_aCFI_v2write'
generic_main.o:(.data+0x2c): undefined reference to
`f3s_a29f040_v2erase'
generic_main.o:(.data+0x30): undefined reference to `f3s_aCFI_v2suspend'
generic_main.o:(.data+0x34): undefined reference to `f3s_a29f040_resume'
generic_main.o:(.data+0x38): undefined reference to `f3s_a29f040_sync'
E:/Projects/NEC/Source/cardbase_0.1_3April/platform/cpu_sub/src/driver_m
pc8568/n
or_flash/bsp-freescale-cdsmpc85xx_devf-generic_driver/../bsp-freescale-c
dsmpc85x
x_libmtd-flash/ppc/a.be\libmtd-flash.a(flash_list.o):(.rodata+0x4):
undefined re
ference to `f3s_sram_ident'
E:/Projects/NEC/Source/cardbase_0.1_3April/platform/cpu_sub/src/driver_m
pc8568/n
or_flash/bsp-freescale-cdsmpc85xx_devf-generic_driver/../bsp-freescale-c
dsmpc85x
x_libmtd-flash/ppc/a.be\libmtd-flash.a(flash_list.o):(.rodata+0x10):
undefined r
eference to `f3s_sram_write'
E:/Projects/NEC/Source/cardbase_0.1_3April/platform/cpu_sub/src/driver_m
pc8568/n
or_flash/bsp-freescale-cdsmpc85xx_devf-generic_driver/../bsp-freescale-c
dsmpc85x
x_libmtd-flash/ppc/a.be\libmtd-flash.a(flash_list.o):(.rodata+0x14):
undefined r
eference to `f3s_sram_erase'
E:/Projects/NEC/Source/cardbase_0.1_3April/platform/cpu_sub/src/driver_m
pc8568/n
or_flash/bsp-freescale-cdsmpc85xx_devf-generic_driver/../bsp-freescale-c
dsmpc85x
x_libmtd-flash/ppc/a.be\libmtd-flash.a(flash_list.o):(.rodata+0x20):
undefined r
eference to `f3s_sram_sync'
E:/Projects/NEC/Source/cardbase_0.1_3April/platform/cpu_sub/src/driver_m
pc8568/n
or_flash/bsp-freescale-cdsmpc85xx_devf-generic_driver/../bsp-freescale-c
dsmpc85x
x_libmtd-flash/ppc/a.be\libmtd-flash.a(flash_list.o):(.rodata+0x28):
undefined r
eference to `f3s_rom_ident'
E:/Projects/NEC/Source/cardbase_0.1_3April/platform/cpu_sub/src/driver_m
pc8568/n
or_flash/bsp-freescale-cdsmpc85xx_devf-generic_driver/../bsp-freescale-c
dsmpc85x
x_libmtd-flash/ppc/a.be\libmtd-flash.a(flash_list.o):(.rodata+0x34):
undefined r
eference to `f3s_rom_write'
E:/Projects/NEC/Source/cardbase_0.1_3April/platform/cpu_sub/src/driver_m
pc8568/n
or_flash/bsp-freescale-cdsmpc85xx_devf-generic_driver/../bsp-freescale-c
dsmpc85x
x_libmtd-flash/ppc/a.be\libmtd-flash.a(flash_list.o):(.rodata+0x38):
undefined r
eference to `f3s_rom_erase'
E:/Projects/NEC/Source/cardbase_0.1_3April/platform/cpu_sub/src/driver_m
pc8568/n
or_flash/bsp-freescale-cdsmpc85xx_devf-generic_driver/../bsp-freescale-c
dsmpc85x
x_libmtd-flash/ppc/a.be\libmtd-flash.a(flash_list.o):(.rodata+0x44):
undefined r
eference to `f3s_rom_sync'
cc: C:/QNX640/host/win32/x86/usr/bin/ntoppc-ld caught signal 1
make[5]: ***
[E:/Projects/NEC/Source/cardbase_0.1_3April/platform/cpu_sub/src/dr
iver_mpc8568/nor_flash/bsp-freescale-cdsmpc85xx_devf-generic_driver/gene
ric/ppc/
be/devf-generic] Error 1
make[5]: Leaving directory
`E:/Projects/NEC/Source/cardbase_0.1_3April/platform/
cpu_sub/src/driver_mpc8568/nor_flash/bsp-freescale-cdsmpc85xx_devf-gener
ic_drive
r/generic/ppc/be'
make[4]: *** [all] Error 2
make[4]: Leaving directory
`E:/Projects/NEC/Source/cardbase_0.1_3April/platform/
cpu_sub/src/driver_mpc8568/nor_flash/bsp-freescale-cdsmpc85xx_devf-gener
ic_drive
r/generic/ppc'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`E:/Projects/NEC/Source/cardbase_0.1_3April/platform/
cpu_sub/src/driver_mpc8568/nor_flash/bsp-freescale-cdsmpc85xx_devf-gener
ic_drive
r/generic'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`E:/Projects/NEC/Source/cardbase_0.1_3April/platform/
cpu_sub/src/driver_mpc8568/nor_flash/bsp-freescale-cdsmpc85xx_devf-gener
ic_drive
r'
make[1]: ***
[src/driver_mpc8568/nor_flash/bsp-freescale-cdsmpc85xx_devf-generic
_driver] Error 2
make[1]: Leaving directory
`E:/Projects/NEC/Source/cardbase_0.1_3April/platform/
cpu_sub'
make: *** [E:/Projects/NEC/Source/cardbase_0.1_3April/platform/cpu_sub]
Error 2
============================= Capture-1 End
====================================
The capture -2 failes by saying invalid option, whereas the same worked
in 3.80
Version.
============================= Capture-2 Start
====================================
rm -rf
e:/projects/nec/source/qnxsdk/build/unix-qnx/ppc-generic-qnx/netserve.P
e
:/projects/nec/source/qnxsdk/build/unix-qnx/ppc-generic-qnx/socdiag.P
e:/project
s/nec/source/qnxsdk/build/unix-qnx/ppc-generic-qnx/netserve.P
e:/projects/nec/so
urce/qnxsdk/build/unix-qnx/ppc-generic-qnx/socdiag.P
C:/QNX640/host/win32/x86/usr/bin/make -C
e:/projects/nec/source/qnxsdk/systems/b
de/Qnx CFLAGS="-D_REENTRANT -DUNIX -DSYS_BE_PIO=1 -DSYS_BE_PACKET=0
-DSYS_BE_OTH
ER=1 -DBCM_PLATFORM_STRING=\"unix-qnx\" -DBCM_ALL_CHIPS -DINCLUDE_BCMX
-DINCLU
DE_BCMX_DIAG -DINCLUDE_BSAFE -DINCLUDE_CHASSIS -DINCLUDE_CUSTOMER
-DINCLUDE_
EDITLINE -DINCLUDE_I2C -DINCLUDE_L3 -DINCLUDE_MEM_SCAN
-DINCLUDE_RCPU -DINC
LUDE_TEST -DBCM_RPC_SUPPORT -DBCM_ESW_SUPPORT -DINCLUDE_LIB_CPUDB
-DINCLUDE_LI
B_CPUTRANS -DINCLUDE_LIB_DISCOVER -DINCLUDE_LIB_STKTASK
-DDISCOVER_APP_DATA_BOAR
DID -DINCLUDE_PHY_522X -DINCLUDE_PHY_54XX -DINCLUDE_PHY_5464
-DINCLUDE_PHY_
5421S -DINCLUDE_PHY_5482 -DINCLUDE_PHY_54580 -DINCLUDE_PHY_54684
-DINCLUDE_P
HY_SERDES -DINCLUDE_PHY_SIMUL -DINCLUDE_PHY_8703 -DINCLUDE_PHY_8705
-DINCLUD
E_PHY_8706 -DINCLUDE_PHY_8072 -DINCLUDE_PHY_8040 -DINCLUDE_PHY_8481
-DBE_HOST
=1 -Wall -Werror -Wno-address -DBROADCOM_DEBUG -g" clean
C:\QNX640\host\win32\x86\usr\bin\make: invalid option -- U
C:\QNX640\host\win32\x86\usr\bin\make: invalid option -- N
C:\QNX640\host\win32\x86\usr\bin\make: invalid option -- Y
C:\QNX640\host\win32\x86\usr\bin\make: invalid option -- _
C:\QNX640\host\win32\x86\usr\bin\make: invalid option -- E
C:\QNX640\host\win32\x86\usr\bin\make: invalid option -- _
C:\QNX640\host\win32\x86\usr\bin\make: invalid option -- P
C:\QNX640\host\win32\x86\usr\bin\make: invalid option -- Y
C:\QNX640\host\win32\x86\usr\bin\make: invalid option -- _
C:\QNX640\host\win32\x86\usr\bin\make: invalid option -- E
C:\QNX640\host\win32\x86\usr\bin\make: invalid option -- _
C:\QNX640\host\win32\x86\usr\bin\make: invalid option -- P
C:\QNX640\host\win32\x86\usr\bin\make: invalid option -- A
C:\QNX640\host\win32\x86\usr\bin\make: invalid option -- Y
C:\QNX640\host\win32\x86\usr\bin\make: invalid option -- _
C:\QNX640\host\win32\x86\usr\bin\make: invalid option -- E
C:\QNX640\host\win32\x86\usr\bin\make: invalid option -- _
C:\QNX640\host\win32\x86\usr\bin\make: invalid option -- O
C:\QNX640\host\win32\x86\usr\bin\make: invalid option -- T
C:\QNX640\host\win32\x86\usr\bin\make: invalid option -- H
C:\QNX640\host\win32\x86\usr\bin\make: invalid option -- E
C:\QNX640\host\win32\x86\usr\bin\make: invalid option -- =
C:\QNX640\host\win32\x86\usr\bin\make: invalid option -- 1
C:\QNX640\host\win32\x86\usr\bin\make: invalid option -- E
C:\QNX640\host\win32\x86\usr\bin\make: invalid option -- _
C:\QNX640\host\win32\x86\usr\bin\make: invalid option -- H
C:\QNX640\host\win32\x86\usr\bin\make: invalid option -- O
C:\QNX640\host\win32\x86\usr\bin\make: invalid option -- T
C:\QNX640\host\win32\x86\usr\bin\make: invalid option -- =
C:\QNX640\host\win32\x86\usr\bin\make: invalid option -- 1
C:\QNX640\host\win32\x86\usr\bin\make: invalid option -- O
C:\QNX640\host\win32\x86\usr\bin\make: invalid option -- A
C:\QNX640\host\win32\x86\usr\bin\make: invalid option -- g
C:\QNX640\host\win32\x86\usr\bin\make: invalid option --
C:\QNX640\host\win32\x86\usr\bin\make: invalid option -- c
Usage: make [options] [target] ...
Options:
-b, -m Ignored for compatibility.
-B, --always-make Unconditionally make all targets.
-C DIRECTORY, --directory=DIRECTORY
Change to DIRECTORY before doing anything.
-d Print lots of debugging information.
--debug[=FLAGS] Print various types of debugging
information.
-e, --environment-overrides
Environment variables override makefiles.
-f FILE, --file=FILE, --makefile=FILE
Read FILE as a makefile.
-h, --help Print this message and exit.
-i, --ignore-errors Ignore errors from commands.
-I DIRECTORY, --include-dir=DIRECTORY
Search DIRECTORY for included makefiles.
-j [N], --jobs[=N] Allow N jobs at once; infinite jobs with
no arg.
-k, --keep-going Keep going when some targets can't be
made.
-l [N], --load-average[=N], --max-load[=N]
Don't start multiple jobs unless load is
below N.
-L, --check-symlink-times Use the latest mtime between symlinks and
target.
-n, --just-print, --dry-run, --recon
Don't actually run any commands; just
print them.
-o FILE, --old-file=FILE, --assume-old=FILE
Consider FILE to be very old and don't
remake it.
-p, --print-data-base Print make's internal database.
-q, --question Run no commands; exit status says if up to
date.
-r, --no-builtin-rules Disable the built-in implicit rules.
-R, --no-builtin-variables Disable the built-in variable settings.
-s, --silent, --quiet Don't echo commands.
-S, --no-keep-going, --stop
Turns off -k.
-t, --touch Touch targets instead of remaking them.
-v, --version Print the version number of make and exit.
-w, --print-directory Print the current directory.
--no-print-directory Turn off -w, even if it was turned on
implicitly.
-W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
Consider FILE to be infinitely new.
--warn-undefined-variables Warn when an undefined variable is
referenced.
This program built for i386-pc-mingw32
Report bugs to <address@hidden>
make[1]: *** [clean] Error 2
make[1]: Leaving directory
`E:/Projects/NEC/Source/qnxsdk/systems/qnx/common'
make: *** [clean] Error 2
============================= Capture-2 End
====================================
Thanks
-----Original Message-----
From: Eli Zaretskii [mailto:address@hidden
Sent: Thursday, April 09, 2009 1:23 PM
To: Sathish Kumar Govindasamy
Cc: address@hidden; address@hidden
Subject: Re: "Target pattern contains no %"
> Date: Thu, 9 Apr 2009 12:39:51 +0530
> From: "Sathish Kumar Govindasamy " <address@hidden>
> Cc: address@hidden
>
> I downloaded and tried the GNU Make version 3.81 for windows and now
the
> build is throwing error while linking. The build works in my previous
make
> version 3.80 without any change. Are there any compatibility issues
> while migrating from 3.80 to 3.81 make.
All the known compatibility issues are documented in NEWS.
If none of them seems applicable, can you show the Makefile that
fails, or at least the parts relevant to the failing link command?
DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended
for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates.
Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the
opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of
this message without the prior written consent of the author of this e-mail is
strictly prohibited. If you have
received this email in error please delete it and notify the sender
immediately. Before opening any mail and
attachments please check them for viruses and defect.
-----------------------------------------------------------------------------------------------------------------------