Subject: Problem with do-build and shell-script
To: None <tech-pkg@netbsd.org>
From: Daniel Eggert <eggert@macvaerk.dtu.dk>
List: tech-pkg
Date: 12/16/2005 22:36:38
I'm trying to create a packe. I can build the source with its $
{WRKSRC}/Buildit script when I run it from the command line, but when
I run it from pkgsrc with
do-build:
cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${WRKSRC}/Buildit
the build fails at some point with
gcc -c -o QTBroadcaster.o -include ../../PlatformHeader.h -g -Wall -
O3 -I. -I../../QTFileLib -I../../CommonUtilitiesLib -I../../
RTPMetaInfoLib QTBroadcaster.cpp
gcc -o QTBroadcaster QTBroadcaster.o ../../RTPMetaInfoLib/
RTPMetaInfoPacket.o -L../../CommonUtilitiesLib -L../../QTFileLib -
pthread -lm -lcrypt -lstdc++ -lCommonUtilitiesLib -
lQTFileExternalLib ../../CommonUtilitiesLib/libCommonUtilitiesLib.a
../../QTFileLib/libQTFileExternalLib.a(QTFile.xo)(.text+0x80): In
function `QTFile::QTFile(unsigned short, unsigned short)':
../CommonUtilitiesLib/OSFileSource.h:76: undefined reference to
`OSQueue::OSQueue()'
../../QTFileLib/libQTFileExternalLib.a(QTFile.xo)(.text+0x1b0): In
function `QTFile::QTFile(unsigned short, unsigned short)':
../CommonUtilitiesLib/OSFileSource.h:76: undefined reference to
`OSQueue::OSQueue()'
Can anybody point me in the right direction? Most of the things build
fine.
/Daniel