One change...  to solve the problem permanently, the change below needs 
to be made in the doxyapp.pro file, as the Makefile.doxyapp is generated 
during the build process.  I found this out by running make clean, and 
seeing my changes removed.

Kevin

On 9/13/13 8:49 AM, Kevin Nesmith wrote:
> Thanks for the quick fix.  I had one more issue, but was able to solve...
>
> g++ -c -pipe -D_LARGEFILE_SOURCE -Wall -W -g -I../../qtools 
> -I../../src -o ../../objects/doxyapp.o doxyapp.cpp
> g++ -g -o ../../bin/doxyapp ../../objects/doxyapp.o  -L../../lib 
> -L../../lib -ldoxygen -lqtools -lmd5 -ldoxycfg
> ../../lib/libqtools.a(qthread_unix.o): In function 
> `QThreadPrivate::start(void*)':
> qthread_unix.cpp:(.text+0x148): undefined reference to 
> `pthread_testcancel'
> ../../lib/libqtools.a(qthread_unix.o): In function `QThread::start()':
> qthread_unix.cpp:(.text+0x1dc): undefined reference to `pthread_sigmask'
> qthread_unix.cpp:(.text+0x22a): undefined reference to `pthread_create'
> qthread_unix.cpp:(.text+0x2a0): undefined reference to `pthread_sigmask'
> qthread_unix.cpp:(.text+0x2b4): undefined reference to 
> `pthread_attr_setstacksize'
> ../../lib/libqtools.a(qthread_unix.o): In function 
> `QThread::terminate()':
> qthread_unix.cpp:(.text+0x30b): undefined reference to `pthread_cancel'
> collect2: error: ld returned 1 exit status
> gmake[2]: *** [../../bin/doxyapp] Error 1
>
> Turns out the linking call was missing "-lpthread".  I added this to 
> the end of the LIBS line in the Makefile.doxyapp.  This solved the 
> compiling problem.
>
> old:
> LIBS    =   -L../../lib -L../../lib -ldoxygen -lqtools -lmd5 -ldoxycfg
>
> new:
> LIBS    =   -L../../lib -L../../lib -ldoxygen -lqtools -lmd5 -ldoxycfg 
> -lpthread
>
> Thanks again,
>
> Kevin
>
>
> On 9/13/13 8:31 AM, Dimitri van Heesch wrote:
>> Hi Kevin,
>>
>> On Sep 11, 2013, at 19:58 , Kevin Nesmith <knesm...@si2.org> wrote:
>>> I have tried the latest source download, version 1.8.5 and the latest
>>> version in git. I have run the configure with the doxyapp parameter. 
>>> But
>>> when the compiler gets to the doxyapp build, I receive the following
>>> errors...
>>>
>>> g++ -c -pipe -D_LARGEFILE_SOURCE -Wall -W -g -I../../qtools -I../../src
>>> -o ../../objects/doxyapp.o doxyapp.cpp
>>> doxyapp.cpp: In function ‘void findXRefSymbols(FileDef*)’:
>>> doxyapp.cpp:114:66: error: cannot allocate an object of abstract type
>>> ‘XRefDummyCodeGenerator’
>>> doxyapp.cpp:41:7: note: because the following virtual functions are 
>>> pure
>>> within ‘XRefDummyCodeGenerator’:
>>> In file included from doxyapp.cpp:31:0:
>>> ../../src/outputgen.h:100:18: note: virtual void
>>> CodeOutputInterface::writeTooltip(const char*, const DocLinkInfo&, 
>>> const
>>> char*, const char*, const SourceLinkInfo&, const SourceLinkInfo&)
>>> doxyapp.cpp:122:19: error: no matching function for call to
>>> ‘ParserInterface::parseCode(XRefDummyCodeGenerator&, int, QCString,
>>> const bool&, int, FileDef*&)’
>>> doxyapp.cpp:122:19: note: candidate is:
>>> In file included from doxyapp.cpp:32:0:
>>> ../../src/parserintf.h:102:18: note: virtual void
>>> ParserInterface::parseCode(CodeOutputInterface&, const char*, const
>>> QCString&, SrcLangExt, bool, const char*, FileDef*, int, int, bool,
>>> MemberDef*, bool, Definition*)
>>> ../../src/parserintf.h:102:18: note: no known conversion for argument 4
>>> from ‘const bool’ to ‘SrcLangExt’
>>>
>>>
>>> I don't believe this is an issue with the version of compiler or 
>>> version
>>> of Linux.
>> Indeed. The API changed and the doxyapp wasn't updated in the process.
>> I've just pushed a fix to GitHub:
>> https://github.com/doxygen/doxygen/commit/b07832a11606e3d1b488ee2ab4ec34bb6ccb7921
>>  
>>
>>
>> Regards,
>>    Dimitri
>>
>


------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to