> On Thu, 2010-01-28 at 18:59 +0100, [email protected] wrote:
>
>> I created the .inc and .f files, but how can I do with the .o.uu file ?
>> If I create mips-elf.hal.o.uu by copying mips-be-elf.hal.o.uu
>> compilation
>> ends with success, but what problems will there be?
>
> This is described in the INSTALL file:
>
> [quote start]
> A target specifies the CPU architecture, byte order (unless implied by
> the CPU), and the ABI/file format. For most popular platforms, the
> build system will find the appropriate files. When cross-compiling or
> compiling for less common platforms, the target platform may need to be
> specified using the TARGET variable, e.g:
>
> $ make TARGET=armv4-le-elf
> [quote end]
>
> If you could compile with mips-be-elf, then you should be able to
> specify TARGET=mips-be-elf on the command line.
>
> --
> Regards,
> Pavel Roskin
>
Hi Pavel,
I tried adding TARGET=mips-be-elf to make arguments, but compilation fail
due to compiler option specified in hal/public/mips-be-elf.inc file.
I can try to remove them all?
[root@AntoPC001 madwifi-0.9.4]# make
KERNELPATH=/home/antonello/projects/imola4-lx/linux/linux-2.6.18
TARGET=mips-be-elf CROSS_COMPILE=mips-linux- info
The following settings will be used for compilation:
TARGET : mips-be-elf
ARCH : mips
BUS : PCI
KERNELRELEASE: 2.6.18.8
KERNELPATH : /home/antonello/projects/imola4-lx/linux/linux-2.6.18
KERNELCONF : /home/antonello/projects/imola4-lx/linux/linux-2.6.18/.config
KMODPATH : /lib/modules/2.6.18.8/net
KMODSUF : ko
[root@AntoPC001 madwifi-0.9.4]#
[root@AntoPC001 madwifi-0.9.4]# make V=1
KERNELPATH=/home/antonello/projects/imola4-lx/linux/linux-2.6.18
TARGET=mips-be-elf CROSS_COMPILE=mips-linux- 2>&1 | tee make.out
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /home/antonello/projects/imola4-lx/linux/linux-2.6.18
SUBDIRS=/home/antonello/projects/imola4-lx/wifi/madwifi-0.9.4 modules
make[1]: Entering directory
`/home/antonello/projects/imola4-lx/linux/linux-2.6.18'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || (
\
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or
include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src
to fix it."; \
echo; \
/bin/false)
mkdir -p /home/antonello/projects/imola4-lx/wifi/madwifi-0.9.4/.tmp_versions
rm -f /home/antonello/projects/imola4-lx/wifi/madwifi-0.9.4/.tmp_versions/*
make -f scripts/Makefile.build
obj=/home/antonello/projects/imola4-lx/wifi/madwifi-0.9.4
make -f scripts/Makefile.build
obj=/home/antonello/projects/imola4-lx/wifi/madwifi-0.9.4/ath
mips-linux-gcc
-Wp,-MD,/home/antonello/projects/imola4-lx/wifi/madwifi-0.9.4/ath/.if_ath.o.d
-nostdinc -isystem
/home/antonello/projects/imola4-lx/linux/buildroot/build_mips_nofpu/staging_dir/lib/gcc/mips-linux-uclibc/3.4.3/include
-D__KERNEL__ -Iinclude -include include/linux/autoconf.h -DNEW_CONFIG
-I/home/antonello/projects/imola4-lx/linux/linux-2.6.18/include
-I/home/antonello/projects/imola4-lx/linux/linux-2.6.18/../fusiv_src/kernel/ap_code
-I/home/antonello/projects/imola4-lx/linux/linux-2.6.18/../fusiv_src/kernel/ap_code/inc
-I/home/antonello/projects/imola4-lx/linux/linux-2.6.18/../fusiv_src/kernel/drivers/inc
-I/home/antonello/projects/imola4-lx/linux/linux-2.6.18/../fusiv_src/kernel/drivers/adsl
-I/home/antonello/projects/imola4-lx/linux/linux-2.6.18/../fusiv_src/kernel/drivers/switch
-Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -O2 -mabi=32 -G 0 -mno-abicalls -fno-pic -pipe -msoft-float
-ffreestanding -march=lx4189 -Iinclude/asm-mips/mach-adi_fusiv
-Iinclude/asm-mips/mach-generic -fomit-frame-pointer
-Wdeclaration-after-statement -include
/home/antonello/projects/imola4-lx/wifi/madwifi-0.9.4/ath/../include/compat.h
-I/home/antonello/projects/imola4-lx/wifi/madwifi-0.9.4/ath/../include
-I/home/antonello/projects/imola4-lx/wifi/madwifi-0.9.4/ath/..
-I/home/antonello/projects/imola4-lx/wifi/madwifi-0.9.4/ath/../ath_hal
-I/home/antonello/projects/imola4-lx/wifi/madwifi-0.9.4/ath/../hal
-I/home/antonello/projects/imola4-lx/wifi/madwifi-0.9.4/ath/../net80211
-DATH_PCI -Werror -DAH_BYTE_ORDER=AH_BIG_ENDIAN -G 0 -EB -mno-abicalls
-fno-pic -mips2 -Wa,--trap -fno-strict-aliasing -fno-common
-fomit-frame-pointer -mlong-calls -DATH_SUPERG_FF=1
-DATH_SUPERG_DYNTURBO=1 -DATH_TURBO_SCAN=1 -DATH_SUPERG_XR=1
-DOPT_AH_H=\"/home/antonello/projects/imola4-lx/wifi/madwifi-0.9.4/ath/../hal/public/mips-be-elf.opt_ah.h\"
-DMODULE -mlong-calls -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(if_ath)"
-D"KBUILD_MODNAME=KBUILD_STR(ath_pci)" -c -o
/home/antonello/projects/imola4-lx/wifi/madwifi-0.9.4/ath/.tmp_if_ath.o
/home/antonello/projects/imola4-lx/wifi/madwifi-0.9.4/ath/if_ath.c
mips-linux-gcc: unrecognized option `-EB'
Assembler messages:
Error: -mips2 conflicts with the other architecture options, which imply
-mips1
Error: trap exception not supported at ISA 1
/home/antonello/projects/imola4-lx/wifi/madwifi-0.9.4/ath/if_ath.c:1:
error: -mips2 conflicts with the other architecture options, which specify
a MIPS1 processor
make[3]: ***
[/home/antonello/projects/imola4-lx/wifi/madwifi-0.9.4/ath/if_ath.o] Error
1
make[2]: *** [/home/antonello/projects/imola4-lx/wifi/madwifi-0.9.4/ath]
Error 2
make[1]: ***
[_module_/home/antonello/projects/imola4-lx/wifi/madwifi-0.9.4] Error 2
make[1]: Leaving directory
`/home/antonello/projects/imola4-lx/linux/linux-2.6.18'
make: *** [modules] Error 2
[root@AntoPC001 madwifi-0.9.4]#
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.