Results 1 to 4 of 4

Thread: while compiling getting error as : error: expected ‘=’, ‘,’,

  1. #1
    prabhat_singh NNTP User

    Default while compiling getting error as : error: expected ‘=’, ‘,’,

    Hi,
    I am using gcc (GCC) 4.2.1 (SUSE Linux).
    SUSE 10.3

    While compiling a .c file I get following error

    Configuration.h:70: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘extern’

    can anybody tell me ways to sort out such problems.

    Thanks

  2. #2
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: while compiling getting error as : error: expected ‘=’,

    Correct the error in your program.

  3. #3
    prabhat_singh NNTP User

    Default Re: while compiling getting error as : error: expected ‘=’,

    In my view there is no as such error in the program.

  4. #4
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: while compiling getting error as : error: expected ‘=’,

    So show us your program, or I'll just put this one in the "another one of the little mysteries of life, would be nice to know why, but I have other things to do" basket.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •