WD Community

Arm-marvell-linux-gnueabi-gcc unexpected ")"

Running the gcc compiler on the device when ssh’d in, one finds this result:

Perhaps someone knows what I am doing wrong?

I’ve compiled gcc before on Linux for many distributions and usually these commands after building just work.

Welcome to the WD Community.

I haven’t seen this case before. Let’s see if any of the users can provide you some information about this.

It doesn’t look like anyone has tried downloading the sources and running the marvell supplied gcc.

I did… But i got just “No such file or directory” for any input…

@Fox_exe just downloaded WD My Cloud GPL Source Code, set up toolchain and saw the same “No such file or directory” error for any binary “~/WD_MyCloud_GPL_v2.30.165_20170321/toolchain/armv7-marvell-linux-gnueabi-softfp_i686_64K_Dev_20131002/bin/arm-marvell-linux-gnueabi-*”.

Any clue on how to solve this? I’m trying to compile an open source program for my WD My Cloud Gen2 device.

I think its architecture problem - Toolchain needs x86 (32 / i686) libs, but your system have only x64.

I revisited my issue like some 6 months ago…
I resolved on cross-compiling the app using the tool chain on an old laptop I had running Ubuntu.
That worked to get a runnable binary for what I was playing around with.

Does anyone know if there is Go support, last I checked it didn’t have any. That was my primary motive of playing around with this device other than storing my data on a RAID configured system.

It was some two years ago I posted this, I think WD should hire some more developers to solve more of users’ problems faster. Maybe I’ll post a resume.

Thanks @Fox_exe! You were right: running apt-get install gcc-multilib did the trick.

Support for Western Digital Hard Drives | Western Digital

Still Need Help?

Reach out to Support for more assistance.

Sign in to Your Support Account

Get up-to-date information about your products.

Western Digital Business Portal

Unlock benefits and tools for your business such as enterprise support, pricing and rebate tools, marketing, loyalty, rewards, and more.