Page 1 of 1

Can not build on Mac rev. 2741

Posted: Thu Jan 22, 2009 4:28 pm
by frank_frl
Hi,

when I try to build CL on Mac, I get following error messages:

Code: Select all

----------Building project:[ codelite_indexer - Release ]----------

Undefined symbols:
  "_cArgOff", referenced from:
      _createTagsFromFileInput in main.o
      _ctags_make_tags in main.o
      _ctags_make_tags in main.o
      _ctags_make_tags in main.o
      _ctags_make_tags in main.o
  "_verbose", referenced from:
      _createTagsForEntry in main.o
      _createTagsForEntry in main.o
      _createTagsForEntry in main.o
      _recurseIntoDirectory in main.o
      _recurseIntoDirectory in main.o
      _recurseIntoDirectory in main.o
      _ctags_make_tags in main.o
      _ctags_make_tags in main.o
      _ctags_make_tags in main.o
      _ctags_make_tags in main.o
  "_getExecutableName", referenced from:
      _ctags_make_tags in main.o
  "_parseFile", referenced from:
      _createTagsForEntry in main.o
  "_filesRequired", referenced from:
      _ctags_make_tags in main.o
  "_freeKeywordTable", referenced from:
      _ctags_shutdown in main.o
  "_freeTagFileResources", referenced from:
      _ctags_shutdown in main.o
  "_cArgForth", referenced from:
      _createTagsFromFileInput in main.o
      _ctags_make_tags in main.o
  "_freeRegexResources", referenced from:
      _ctags_shutdown in main.o
  "_freeRoutineResources", referenced from:
      _ctags_shutdown in main.o
  "_cArgNewFromArgv", referenced from:
      _ctags_make_tags in main.o
  "_closeTagFile", referenced from:
      _ctags_make_tags in main.o
  "_cArgDelete", referenced from:
      _createTagsFromFileInput in main.o
      _ctags_make_tags in main.o
  "_vStringNewInit", referenced from:
      _recurseIntoDirectory in main.o
  "_vStringDelete", referenced from:
      _recurseIntoDirectory in main.o
  "_parseOptions", referenced from:
      _createTagsFromFileInput in main.o
      _createTagsFromFileInput in main.o
      _ctags_make_tags in main.o
      _ctags_make_tags in main.o
  "_combinePathAndFile", referenced from:
      _recurseIntoDirectory in main.o
  "_freeParserResources", referenced from:
      _ctags_shutdown in main.o
  "_checkRegex", referenced from:
      _ctags_make_tags in main.o
  "_eStat", referenced from:
      _createTagsForEntry in main.o
  "_freeSourceFileResources", referenced from:
      _ctags_shutdown in main.o
  "_checkOptions", referenced from:
      _ctags_make_tags in main.o
  "_freeOptionResources", referenced from:
      _ctags_shutdown in main.o
  "isDestinationStdout()", referenced from:
      openTagFile()     in entry.o
      checkOptions()     in options.o
  "_isExcludedFile", referenced from:
      _createTagsForEntry in main.o
  "_isRecursiveLink", referenced from:
      _recurseIntoDirectory in main.o
  "_error", referenced from:
      _createTagsForEntry in main.o
      _recurseIntoDirectory in main.o
      _ctags_make_tags in main.o
      _ctags_make_tags in main.o
  "_setExecutableName", referenced from:
      _ctags_make_tags in main.o
  "_stringListClear", referenced from:
      _ctags_make_tags in main.o
  "_setCurrentDirectory", referenced from:
      _ctags_make_tags in main.o
  "_cArgNewFromLineFile", referenced from:
      _createTagsFromFileInput in main.o
  "_previewFirstOption", referenced from:
      _ctags_make_tags in main.o
  "_initOptions", referenced from:
      _ctags_make_tags in main.o
  "addTotals(unsigned int, unsigned long, unsigned long)", referenced from:
      parseFile(char const*)in parse.o
      fileClose()    in read.o
  "_openTagFile", referenced from:
      _ctags_make_tags in main.o
  "_cArgItem", referenced from:
      _createTagsFromFileInput in main.o
      _ctags_make_tags in main.o
  "_initializeParsing", referenced from:
      _ctags_make_tags in main.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [codelite_indexer] Error 1
make: *** [codelite_indexer] Error 2
I did:
make clean
make clean_plugins
./configure
make

On WinXP it compiles fine.

Frank

Re: Can not build on Mac rev. 2741

Posted: Thu Jan 22, 2009 5:22 pm
by eranif

Code: Select all

./configure
cd sdk/codelite_indexer/
make clean 
cd ../../
make
It seems that the 'clean' target does not clean the indexer...

Eran

Re: Can not build on Mac rev. 2741

Posted: Thu Jan 22, 2009 7:40 pm
by frank_frl
eranif wrote:

Code: Select all

./configure
cd sdk/codelite_indexer/
make clean 
cd ../../
make
It seems that the 'clean' target does not clean the indexer...

Eran
Thanks Eran, that did the job :)

Frank