c++ - Strange ld error -


i have following situation. i've written library (liba) helper classes , application (app) depends on library. in 1 of cpp files of app call function liba has following form:

int computesomething(int param) {      int val;      // call internal liba function.     val = computeinternal(param);      return val; } 

during building of app linking error "undefined reference computeinternal" leads following error message "collect2: error: ld returned 1 exit status". has idea why linker requires reference internal liba function?

what more interesting application built using microsoft tools.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

android - IBM Worklight 6.1 [Application Error] There was a network error (file:///android_asset/www/index.html) -