Linux - Embedded & Single-board computerThis forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm a few steps further by using Scratchbox.
Now the issue that it was not using the cross-compile GCC is solved, but now it is more a programming issue. No idea how to solve this as I'm not a programmer.
Code:
[sbox-DV20x0: ~/ndas/ndas-1.1-24] > export NDAS_KERNEL_PATH=/scratchbox/users/[user]/home/[user]/dv20xx_iad/kernel/linux/
[sbox-DV20x0: ~/ndas/ndas-1.1-24] > export NDAS_KERNEL_VERSION=2.6.8
[sbox-DV20x0: ~/ndas/ndas-1.1-24] > export NDAS_KERNEL_ARCH=mips
[sbox-DV20x0: ~/ndas/ndas-1.1-24] > export NDAS_CROSS_COMPILE=mips-linux-
[sbox-DV20x0: ~/ndas/ndas-1.1-24] > export NDAS_CROSS_COMPILE_UM=mips-linux-uclibc-
[sbox-DV20x0: ~/ndas/ndas-1.1-24] > export NDAS_EXTRA_CFLAGS="-mlong-calls"
[sbox-DV20x0: ~/ndas/ndas-1.1-24] > export DESTDIR=/scratchbox/users/[user]/home/[user]/ndas/ndas-1.1-24/builds/
[sbox-DV20x0: ~/ndas/ndas-1.1-24] > make
Invoking make againt the kernel at /scratchbox/users/[user]/home/[user]/dv20xx_iad/kernel/linux/
make -C /scratchbox/users/[user]/home/[user]/dv20xx_iad/kernel/linux/ \
SUBDIRS=/home/[user]/ndas/ndas-1.1-24 \
KBUILD_VERBOSE=1 \
ndas_root=/home/[user]/ndas/ndas-1.1-24 \
modules
make[1]: Entering directory `/scratchbox/users/[user]/home/[user]/dv20xx_iad/kernel/linux'
mkdir -p /home/[user]/ndas/ndas-1.1-24/.tmp_versions
make -f scripts/Makefile.build obj=/home/[user]/ndas/ndas-1.1-24
gcc -Wp,-MD,/home/[user]/ndas/ndas-1.1-24/block/.block24.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -I /scratchbox/users/[user]/home/[user]/dv20xx_iad/kernel/linux/include/asm/gcc -G 0 -mno-abicalls -fno-pic -pipe -finline-limit=100000 -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -Iinclude/asm-mips/mach-bcm963xx -Iinclude/asm-mips/mach-generic -Os -fomit-frame-pointer -Wdeclaration-after-statement -DMODULE -DLINUX -I/home/[user]/ndas/ndas-1.1-24/inc -D_MIPS -mlong-calls -DMODULE -mlong-calls -DKBUILD_BASENAME=block24 -DKBUILD_MODNAME=ndas_block -c -o /home/[user]/ndas/ndas-1.1-24/block/block24.o /home/[user]/ndas/ndas-1.1-24/block/block24.c
gcc -Wp,-MD,/home/[user]/ndas/ndas-1.1-24/block/.block26.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -I /scratchbox/users/[user]/home/[user]/dv20xx_iad/kernel/linux/include/asm/gcc -G 0 -mno-abicalls -fno-pic -pipe -finline-limit=100000 -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -Iinclude/asm-mips/mach-bcm963xx -Iinclude/asm-mips/mach-generic -Os -fomit-frame-pointer -Wdeclaration-after-statement -DMODULE -DLINUX -I/home/[user]/ndas/ndas-1.1-24/inc -D_MIPS -mlong-calls -DMODULE -mlong-calls -DKBUILD_BASENAME=block26 -DKBUILD_MODNAME=ndas_block -c -o /home/[user]/ndas/ndas-1.1-24/block/block26.o /home/[user]/ndas/ndas-1.1-24/block/block26.c
gcc -Wp,-MD,/home/[user]/ndas/ndas-1.1-24/block/.ctrldev.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -I /scratchbox/users/[user]/home/[user]/dv20xx_iad/kernel/linux/include/asm/gcc -G 0 -mno-abicalls -fno-pic -pipe -finline-limit=100000 -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -Iinclude/asm-mips/mach-bcm963xx -Iinclude/asm-mips/mach-generic -Os -fomit-frame-pointer -Wdeclaration-after-statement -DMODULE -DLINUX -I/home/[user]/ndas/ndas-1.1-24/inc -D_MIPS -mlong-calls -DMODULE -mlong-calls -DKBUILD_BASENAME=ctrldev -DKBUILD_MODNAME=ndas_block -c -o /home/[user]/ndas/ndas-1.1-24/block/ctrldev.o /home/[user]/ndas/ndas-1.1-24/block/ctrldev.c
gcc -Wp,-MD,/home/[user]/ndas/ndas-1.1-24/block/.ops.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -I /scratchbox/users/[user]/home/[user]/dv20xx_iad/kernel/linux/include/asm/gcc -G 0 -mno-abicalls -fno-pic -pipe -finline-limit=100000 -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -Iinclude/asm-mips/mach-bcm963xx -Iinclude/asm-mips/mach-generic -Os -fomit-frame-pointer -Wdeclaration-after-statement -DMODULE -DLINUX -I/home/[user]/ndas/ndas-1.1-24/inc -D_MIPS -mlong-calls -DMODULE -mlong-calls -DKBUILD_BASENAME=ops -DKBUILD_MODNAME=ndas_block -c -o /home/[user]/ndas/ndas-1.1-24/block/ops.o /home/[user]/ndas/ndas-1.1-24/block/ops.c
gcc -Wp,-MD,/home/[user]/ndas/ndas-1.1-24/block/.procfs.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -I /scratchbox/users/[user]/home/[user]/dv20xx_iad/kernel/linux/include/asm/gcc -G 0 -mno-abicalls -fno-pic -pipe -finline-limit=100000 -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -Iinclude/asm-mips/mach-bcm963xx -Iinclude/asm-mips/mach-generic -Os -fomit-frame-pointer -Wdeclaration-after-statement -DMODULE -DLINUX -I/home/[user]/ndas/ndas-1.1-24/inc -D_MIPS -mlong-calls -DMODULE -mlong-calls -DKBUILD_BASENAME=procfs -DKBUILD_MODNAME=ndas_block -c -o /home/[user]/ndas/ndas-1.1-24/block/procfs.o /home/[user]/ndas/ndas-1.1-24/block/procfs.c
gcc -Wp,-MD,/home/[user]/ndas/ndas-1.1-24/.ndas_block_main.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -I /scratchbox/users/[user]/home/[user]/dv20xx_iad/kernel/linux/include/asm/gcc -G 0 -mno-abicalls -fno-pic -pipe -finline-limit=100000 -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -Iinclude/asm-mips/mach-bcm963xx -Iinclude/asm-mips/mach-generic -Os -fomit-frame-pointer -Wdeclaration-after-statement -DMODULE -DLINUX -I/home/[user]/ndas/ndas-1.1-24/inc -D_MIPS -mlong-calls -DMODULE -mlong-calls -DKBUILD_BASENAME=ndas_block_main -DKBUILD_MODNAME=ndas_block -c -o /home/[user]/ndas/ndas-1.1-24/ndas_block_main.o /home/[user]/ndas/ndas-1.1-24/ndas_block_main.c
cd /home/[user]/ndas/ndas-1.1-24 ; /bin/sh /home/[user]/ndas/ndas-1.1-24/libndas.a.sfx
BY INSTALLING OR USING THIS SOFTWARE OR AUTHORIZING ANY OTHER PERSON TO DO SO,
YOU ACCEPT THIS LICENSE AGREEMENT AND ARE BOUND BY ITS TERMS.
DEFINITIONS
Software. "Software" means NDAS core binary as a form of "libndas.a." or
"ndas_core.o" or the binary created by linking "libndas.a" with other
executable binaries.
Documentation. "Documentation" means the manual and any other instructional
or descriptive material, printed or on-line, provided with the Software.
License. "License" means the license to use the Software. The License is
granted pursuant to the provisions of this Agreement.
Customer. "Customer" means the person or business entity to whom this copy of
the Software is licensed.
NDAS. XIMETA's patented network storage architecture that allows direct
attachment of existing ATA/ATAPI devices to Ethernet without a separate server.
Unlike other architectures such NAS, SAN, and USB mass storage, no server
computer intervenes between the storage and the client hosts.
NDAS chip. A single 4mmx4mm chip in 0.18um CMOS technology, which has the NDAS
technology to allows direct attachment of existing ATA/ATAPI devices to Ethernet.
NDAS device. Storage Hardware that has the NDAS chip.
LICENSE
Grant of License. Subject to Customer's compliance with this Agreement, XIMETA
grants to Customer, and Customer purchases, a nonexclusive License to use the
Software for non-commercial use only for the device permitted by XIMETA, and
only for the platform or OS permitted by XIMETA. Rights not expressly granted
by this Agreement are reserved by XIMETA. Customer who wants to use the
Software for commercial use must contact XIMETA to obtain the commercial
License. Customer who wants to use the Software for any other devices not
permitted by XIMETA must contact XIMETA to obtain the proper License. Customer
who wants to use the Software on any other platform or OS not permitted by
XIMETA must contact XIMETA to obtain the proper License.
Customer purchases a License only. XIMETA retains title to and ownership of
the Software and Documentation and any copies thereof, including the originals
provided with this Agreement.
Copies. Customer may not copy the Software except as necessary to use the
Software. Such necessary use includes copying the Software to the internal
hard disk, copying the Software to a network file server in order to make the
Software available for use, and copying the Software to archival backup media.
All trademark and copyright notices must be included on any copies made.
Customer may not copy the Documentation.
Transfer and Use. Customer may not transfer any copy of the Software or
Documentation to any other person or entity unless the transferee first
accepts this Agreement and Customer transfers all copies of the Software and
Documentation, including the originals.
Customer may not rent, loan, lease, sublicense, or otherwise make the Software
or Documentation available for use by any other person except as provided
above. Customer may not modify, decompile, disassemble, or reverse engineer
the Software or create any derivative works based on the Software or the
Documentation.
Customer may not reverse engineer, decompile, or disassemble the Software, nor
attempt in any other manner to obtain the source code or to understand the
protocol.
Redistribution. Redistribution is prohibited without written permission from
XIMETA, Inc.
The Software is protected by national laws and international agreements on
copyright as well by other agreements on intellectual property.
DISCLAIMER
This software is provided 'as is' with no explicit or implied warranties
in respect of any properties, including, but not limited to, correctness
and fitness for purpose.
GENERAL PROVISIONS
Indemnification. Customer agrees that Customer shall defend and hold XIMETA
harmless against any liability, claim, or suit and shall pay any related
expense, including but not limited to reasonable attorneys' fees, arising out
of any use of the Software or Content. XIMETA reserves the right to control
all litigation involving XIMETA, Customer, and third parties.
Entire Agreement. This Agreement represents the entire agreement between
XIMETA and Customer. No distributor, employee, or other person is authorized
by XIMETA to modify this Agreement or to make any warranty or representation
which is different than, or in addition to, the warranties and representations
of this Agreement.
Governing Law. This Agreement shall be governed by the laws of the State of
California and of the United States of America.
Do you agree to the above license terms? [yes or no]
yes
cd /home/[user]/ndas/ndas-1.1-24 ; ar x /home/[user]/ndas/ndas-1.1-24/libndas.a ndas.o
gcc -Wp,-MD,/home/[user]/ndas/ndas-1.1-24/.ndas_core_main.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -I /scratchbox/users/[user]/home/[user]/dv20xx_iad/kernel/linux/include/asm/gcc -G 0 -mno-abicalls -fno-pic -pipe -finline-limit=100000 -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -Iinclude/asm-mips/mach-bcm963xx -Iinclude/asm-mips/mach-generic -Os -fomit-frame-pointer -Wdeclaration-after-statement -DMODULE -DLINUX -I/home/[user]/ndas/ndas-1.1-24/inc -D_MIPS -mlong-calls -DMODULE -mlong-calls -DKBUILD_BASENAME=ndas_core_main -DKBUILD_MODNAME=ndas_core -c -o /home/[user]/ndas/ndas-1.1-24/ndas_core_main.o /home/[user]/ndas/ndas-1.1-24/ndas_core_main.c
gcc -Wp,-MD,/home/[user]/ndas/ndas-1.1-24/.ndas_emu_main.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -I /scratchbox/users/[user]/home/[user]/dv20xx_iad/kernel/linux/include/asm/gcc -G 0 -mno-abicalls -fno-pic -pipe -finline-limit=100000 -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -Iinclude/asm-mips/mach-bcm963xx -Iinclude/asm-mips/mach-generic -Os -fomit-frame-pointer -Wdeclaration-after-statement -DMODULE -DLINUX -I/home/[user]/ndas/ndas-1.1-24/inc -D_MIPS -mlong-calls -DMODULE -mlong-calls -DKBUILD_BASENAME=ndas_emu_main -DKBUILD_MODNAME=ndas_emu -c -o /home/[user]/ndas/ndas-1.1-24/ndas_emu_main.o /home/[user]/ndas/ndas-1.1-24/ndas_emu_main.c
gcc -Wp,-MD,/home/[user]/ndas/ndas-1.1-24/sal/.debug.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -I /scratchbox/users/[user]/home/[user]/dv20xx_iad/kernel/linux/include/asm/gcc -G 0 -mno-abicalls -fno-pic -pipe -finline-limit=100000 -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -Iinclude/asm-mips/mach-bcm963xx -Iinclude/asm-mips/mach-generic -Os -fomit-frame-pointer -Wdeclaration-after-statement -DMODULE -DLINUX -I/home/[user]/ndas/ndas-1.1-24/inc -D_MIPS -mlong-calls -DMODULE -mlong-calls -DKBUILD_BASENAME=debug -DKBUILD_MODNAME=ndas_sal -c -o /home/[user]/ndas/ndas-1.1-24/sal/debug.o /home/[user]/ndas/ndas-1.1-24/sal/debug.c
gcc -Wp,-MD,/home/[user]/ndas/ndas-1.1-24/sal/.io.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -I /scratchbox/users/[user]/home/[user]/dv20xx_iad/kernel/linux/include/asm/gcc -G 0 -mno-abicalls -fno-pic -pipe -finline-limit=100000 -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -Iinclude/asm-mips/mach-bcm963xx -Iinclude/asm-mips/mach-generic -Os -fomit-frame-pointer -Wdeclaration-after-statement -DMODULE -DLINUX -I/home/[user]/ndas/ndas-1.1-24/inc -D_MIPS -mlong-calls -DMODULE -mlong-calls -DKBUILD_BASENAME=io -DKBUILD_MODNAME=ndas_sal -c -o /home/[user]/ndas/ndas-1.1-24/sal/io.o /home/[user]/ndas/ndas-1.1-24/sal/io.c
gcc -Wp,-MD,/home/[user]/ndas/ndas-1.1-24/sal/.libc.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -I /scratchbox/users/[user]/home/[user]/dv20xx_iad/kernel/linux/include/asm/gcc -G 0 -mno-abicalls -fno-pic -pipe -finline-limit=100000 -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -Iinclude/asm-mips/mach-bcm963xx -Iinclude/asm-mips/mach-generic -Os -fomit-frame-pointer -Wdeclaration-after-statement -DMODULE -DLINUX -I/home/[user]/ndas/ndas-1.1-24/inc -D_MIPS -mlong-calls -DMODULE -mlong-calls -DKBUILD_BASENAME=libc -DKBUILD_MODNAME=ndas_sal -c -o /home/[user]/ndas/ndas-1.1-24/sal/libc.o /home/[user]/ndas/ndas-1.1-24/sal/libc.c
gcc -Wp,-MD,/home/[user]/ndas/ndas-1.1-24/sal/.mem.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -I /scratchbox/users/[user]/home/[user]/dv20xx_iad/kernel/linux/include/asm/gcc -G 0 -mno-abicalls -fno-pic -pipe -finline-limit=100000 -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -Iinclude/asm-mips/mach-bcm963xx -Iinclude/asm-mips/mach-generic -Os -fomit-frame-pointer -Wdeclaration-after-statement -DMODULE -DLINUX -I/home/[user]/ndas/ndas-1.1-24/inc -D_MIPS -mlong-calls -DMODULE -mlong-calls -DKBUILD_BASENAME=mem -DKBUILD_MODNAME=ndas_sal -c -o /home/[user]/ndas/ndas-1.1-24/sal/mem.o /home/[user]/ndas/ndas-1.1-24/sal/mem.c
gcc -Wp,-MD,/home/[user]/ndas/ndas-1.1-24/sal/.net.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -I /scratchbox/users/[user]/home/[user]/dv20xx_iad/kernel/linux/include/asm/gcc -G 0 -mno-abicalls -fno-pic -pipe -finline-limit=100000 -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -Iinclude/asm-mips/mach-bcm963xx -Iinclude/asm-mips/mach-generic -Os -fomit-frame-pointer -Wdeclaration-after-statement -DMODULE -DLINUX -I/home/[user]/ndas/ndas-1.1-24/inc -D_MIPS -mlong-calls -DMODULE -mlong-calls -DKBUILD_BASENAME=net -DKBUILD_MODNAME=ndas_sal -c -o /home/[user]/ndas/ndas-1.1-24/sal/net.o /home/[user]/ndas/ndas-1.1-24/sal/net.c
gcc -Wp,-MD,/home/[user]/ndas/ndas-1.1-24/sal/.sal.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -I /scratchbox/users/[user]/home/[user]/dv20xx_iad/kernel/linux/include/asm/gcc -G 0 -mno-abicalls -fno-pic -pipe -finline-limit=100000 -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -Iinclude/asm-mips/mach-bcm963xx -Iinclude/asm-mips/mach-generic -Os -fomit-frame-pointer -Wdeclaration-after-statement -DMODULE -DLINUX -I/home/[user]/ndas/ndas-1.1-24/inc -D_MIPS -mlong-calls -DMODULE -mlong-calls -DKBUILD_BASENAME=sal -DKBUILD_MODNAME=ndas_sal -c -o /home/[user]/ndas/ndas-1.1-24/sal/sal.o /home/[user]/ndas/ndas-1.1-24/sal/sal.c
gcc -Wp,-MD,/home/[user]/ndas/ndas-1.1-24/sal/.sync.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -I /scratchbox/users/[user]/home/[user]/dv20xx_iad/kernel/linux/include/asm/gcc -G 0 -mno-abicalls -fno-pic -pipe -finline-limit=100000 -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -Iinclude/asm-mips/mach-bcm963xx -Iinclude/asm-mips/mach-generic -Os -fomit-frame-pointer -Wdeclaration-after-statement -DMODULE -DLINUX -I/home/[user]/ndas/ndas-1.1-24/inc -D_MIPS -mlong-calls -DMODULE -mlong-calls -DKBUILD_BASENAME=sync -DKBUILD_MODNAME=ndas_sal -c -o /home/[user]/ndas/ndas-1.1-24/sal/sync.o /home/[user]/ndas/ndas-1.1-24/sal/sync.c
/home/[user]/ndas/ndas-1.1-24/sal/sync.c: In function `sal_event_wait':
/home/[user]/ndas/ndas-1.1-24/sal/sync.c:484: error: invalid type argument of `->'
/home/[user]/ndas/ndas-1.1-24/sal/sync.c:484: error: invalid type argument of `->'
/home/[user]/ndas/ndas-1.1-24/sal/sync.c:484: error: invalid type argument of `->'
/home/[user]/ndas/ndas-1.1-24/sal/sync.c:484: error: invalid type argument of `->'
/home/[user]/ndas/ndas-1.1-24/sal/sync.c:484: error: invalid type argument of `->'
/home/[user]/ndas/ndas-1.1-24/sal/sync.c:484: error: invalid type argument of `->'
make[2]: *** [/home/[user]/ndas/ndas-1.1-24/sal/sync.o] Error 1
make[1]: *** [_module_/home/[user]/ndas/ndas-1.1-24] Error 2
make[1]: Leaving directory `/scratchbox/users/[user]/home/[user]/dv20xx_iad/kernel/linux'
make: *** [/home/[user]/ndas/ndas-1.1-24/ndas_sal.ko] Error 2
[sbox-DV20x0: ~/ndas/ndas-1.1-24] >
did you ever get this thing to work? I have a ndas network drive enclosure and I am wondering should I bust my 'cohones' trying to get this to work too.
But in the past I did compile it often for my Slackware system.
It depents a bit on the kernel version you are using which patches you would need, and with the latest kernel version it will probably be difficult to get it working.
hi rhermsen,
thanks this confirms my fears. I was at ubunto forums earlier thinking I should post an idea
for all future releases of ubunto to have built in ndas support since ximeta claims they
shifted support to linux community...i don't think the proprietory drivers should be a problem.
I need to try and get people to post the idea.
I bet there are lots of people on linux with worthless net drives now.
Tried crosscompiling NDAS for my ADSL router again today, got a few steps further, but stuck again.
ld: /opt/dv20xx_iad/userapps/opensource/ndas/ndas-1.1-22/ndas.o: compiled for a little endian system and target is big endian
ld: /opt/dv20xx_iad/userapps/opensource/ndas/ndas-1.1-22/ndas.o: endianness incompatible with that of the selected emulation
ld: failed to merge target specific data of file /opt/dv20xx_iad/userapps/opensource/ndas/ndas-1.1-22/ndas.o
make[2]: *** [/opt/dv20xx_iad/userapps/opensource/ndas/ndas-1.1-22/ndas_core.o] Error 1
make[1]: *** [_module_/opt/dv20xx_iad/userapps/opensource/ndas/ndas-1.1-22] Error 2
make[1]: Leaving directory `/opt/dv20xx_iad/kernel/linux'
make: *** [/opt/dv20xx_iad/userapps/opensource/ndas/ndas-1.1-22/ndas_sal.ko] Error 2
Tried crosscompiling NDAS for my ADSL router again today, got a few steps further, but stuck again.
ld: /opt/dv20xx_iad/userapps/opensource/ndas/ndas-1.1-22/ndas.o: compiled for a little endian system and target is big endian
ld: /opt/dv20xx_iad/userapps/opensource/ndas/ndas-1.1-22/ndas.o: endianness incompatible with that of the selected emulation
ld: failed to merge target specific data of file /opt/dv20xx_iad/userapps/opensource/ndas/ndas-1.1-22/ndas.o
make[2]: *** [/opt/dv20xx_iad/userapps/opensource/ndas/ndas-1.1-22/ndas_core.o] Error 1
make[1]: *** [_module_/opt/dv20xx_iad/userapps/opensource/ndas/ndas-1.1-22] Error 2
make[1]: Leaving directory `/opt/dv20xx_iad/kernel/linux'
make: *** [/opt/dv20xx_iad/userapps/opensource/ndas/ndas-1.1-22/ndas_sal.ko] Error 2
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.