Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7833775
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T12:53:30+00:00 2026-06-02T12:53:30+00:00

I have a make file that is throwing an error. I believe that the

  • 0

I have a make file that is throwing an error. I believe that the problem is down to a conditional statement that I have the syntax wrong for but can’t figure out what is actually wrong.

To be clear I am running the code using the command make {target_name}

The code is

ifeq ($(isDynamic), d)
    libExt=.so
else
    libExt=.a
endif 

The error is
/bin/sh: 0403-057 Syntax error at line 1 : `(‘ is not expected.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T12:53:33+00:00Added an answer on June 2, 2026 at 12:53 pm

    You’re running a Makefile as a shell script. You probably want to run make on it instead. Possibly you want to turn it into a make script, although this usually isn’t quite what people intend; make the first line

    #! /usr/bin/make -f
    

    (or wherever GNU make is) and chmod +x it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem with qmake and the make file that it generates. My
we have some C++ code that we need to create a make file in.
I have bat-file, that make some operations. How to run this file from Delphi
I have a make file that contains this code: all: main.o Etudiant.o gcc -lobjc
I have a c++ file that keeps throwing errors about four files up the
I have a make file of, more or less, the following structure that compiles
I have a make file that calls ant and maven build files. I've had
I have a make file that uses pattern matching to automate compilation using a
Sorry for totally stupid question, but the situation is that I have to make
I have a weird error in my flask application. Problem is that the code

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.