Olivier - 2008-12-03

In Debian Lenny, I've got :
g++ -I../../../include -I../common -fPIC  -g -O2 -c h261vic.cxx -o obj/h261vic.o
g++ -I../../../include -I../common -fPIC  -g -O2 -c ../common/trace.cxx -o obj/trace.o
../common/trace.cxx: In static member function ‘static std::ostream& Trace::Start(const char*, int)’:
../common/trace.cxx:60: error: ‘basename’ was not declared in this scope
make[3]: *** [obj/trace.o] Erreur 1
make[3]: quittant le répertoire « /usr/src/opal_v2_4_0/plugins/video/H.261-vic »
make[2]: *** [opt] Erreur 2
make[2]: quittant le répertoire « /usr/src/opal_v2_4_0/plugins »
make[1]: *** [opt] Erreur 2
make[1]: quittant le répertoire « /usr/src/opal_v2_4_0 »
make: *** [optshared] Erreur 2

It appears there's no ../../include nor ../common directory in my system.
My path is /usr/src/opal_v2_4_0. Environment is :

# ls /usr/src
asterisk  libpri                      linux-headers-2.6.26-1-common  opal_v2_4_0             ptlib_v1_12_0   t38modem-1.0.0.tar.gz
dahdi     linux-headers-2.6.26-1-686  linux-kbuild-2.6.26            opal-v2_4_0-src.tar.gz  t38modem-1.0.0

Did I miss something ?