-
Notifications
You must be signed in to change notification settings - Fork 865
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make problem Syntax error: "(" unexpected #68
Comments
What do the following report:
|
Same issue here.Outputs:
If someone could help I would appreciate. |
It looks like you are trying to use this compiler on a Pi. |
The point is, I'm not trying to build the kernel. I was trying to compile QT5, and I was following this guide. Second the guide I must use cross compile: In order to properly run configure for Qt5 on the Raspberry Pi, you need to point the CROSS_COMPILE variable to the native compiler located at /usr/bin/g+. The CROSS_COMPILE parameter is the path to the compiler (without the g). If you do not do this properly it will complain that it is not being cross compiled. But I'm not sure how to compile it and I found in somewhere in the internet were was told to user the Pi Tools to do it, I think maybe that's another issue about QT5 and not about the Pi Tools. Sorry about that |
Using a fresh Ubuntu 15.04 installation running on VMware on OSx
Here is what I did:
sudo apt-get install bc (was already installed)
git clone https://github.com/raspberrypi/tools
git clone --depth=1 https://github.com/raspberrypi/linux
cd linux
KERNEL=kernel7
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- bcm2709_defconfig
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-
results in the error from gcc of:
arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-gcc: Syntax error: "(" unexpected
I'm seeing this has been reported in the past but no resolutions have been given.
Could someone give me a clue?
The text was updated successfully, but these errors were encountered: