Thread: Need Explanation

  1. #1
    Registered User
    Join Date
    Jan 2007
    Posts
    113

    Need Explanation

    Hi ,

    I was trapped in the strange problem when I was installing a project.....

    When I run make command after autoreconf then it give me linker error such as undefined

    reference etc.....

    I google a lot and hit an idea to add AC_PROG_CC in configure.ac . It solve the problem....

    My question is that why this error was occurring ......There was already AC_PROG_CXX in

    configure.ac file........ so why there was need to add AC_PROG_CC to configure.ac .......??????/

    Can anybody explain me this ????

    I will be very thankful to u ..........

    Thanks

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    Most likely the makefile used the C compiler for linking.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  3. #3
    Registered User
    Join Date
    Jan 2008
    Posts
    20
    you need to focus C make file function and how it works?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Private/Public Classes, explanation please in context
    By porsche911nfs in forum C++ Programming
    Replies: 9
    Last Post: 04-22-2009, 08:37 PM
  2. Linked Lists
    By Bleu_Cheese in forum C++ Programming
    Replies: 13
    Last Post: 12-21-2007, 09:17 PM
  3. Explanation of switch statements
    By ammochck21 in forum C++ Programming
    Replies: 6
    Last Post: 11-04-2006, 02:59 PM
  4. basic linked list declaration..need explanation
    By aspand in forum C Programming
    Replies: 3
    Last Post: 06-07-2002, 05:55 PM
  5. Explanation!!!
    By MITCHELL in forum Windows Programming
    Replies: 4
    Last Post: 10-25-2001, 01:13 AM