Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] yet another test

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Arwed von Merkatz <v.merkatz AT gmx.net>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] yet another test
  • Date: Sun, 13 Mar 2005 07:39:29 +0100

On Sat, Mar 12, 2005 at 04:21:03PM -0800, Eric Sandall wrote:
> Quoting "Mathieu L." <lejatorn AT smgl.homelinux.net>:
> > Hi smglers,
> >
> > I need again some testers for a qt app that fails to compile here, it's
> > qtella (0.7.0) in devel grimoire that I've just pulled. Could anyone
> > cast it and tell me if it compiles fine so that I can add it to test?
> >
> > Thanks,
> > Mathieu.
>
> I get this error (which appears with both MAKE_NJOBS=1 and not, but the
> compilation goes a little further without multiple make jobs):
>
> if g++ -DHAVE_CONFIG_H -fexceptions -DUSEKDE
> -DPIXMAPDIR=\"/usr/share/qtella/pixmaps\"
> -DLANG_DIR=\"/usr/share/qtella/language\" -I. -I. -I.. -DQT_THREAD_SUPPORT
> -I../include -I../libyahoo -I../ui -I/usr/include/qt -I/usr/include
> -I/usr/include/vorbis -O -march=pentium3 -mmmx -mfpmath=sse -msse -pipe
> -DPIC -fPIC -Os -MT MessengerThread.o -MD -MP -MF
> ".deps/MessengerThread.Tpo" -c -o MessengerThread.o MessengerThread.cpp; \
> then mv -f ".deps/MessengerThread.Tpo" ".deps/MessengerThread.Po"; else rm
> -f
> ".deps/MessengerThread.Tpo"; exit 1; fi
> MessengerThread.cpp: In function `int ext_yahoo_connect(char*, int)':
> MessengerThread.cpp:342: error: `errno' undeclared (first use this function)
> MessengerThread.cpp:342: error: (Each undeclared identifier is reported only
> once for each function it appears in.)
> MessengerThread.cpp:342: error: `ECONNREFUSED' undeclared (first use this
> function)
> MessengerThread.cpp:342: error: `ETIMEDOUT' undeclared (first use this
> function)
> MessengerThread.cpp:343: error: `ENETUNREACH' undeclared (first use this
> function)
> MessengerThread.cpp: In function `int ext_yahoo_connect_async(int, char*,
> int,
> void (*)(int, int, void*), void*)':
> MessengerThread.cpp:365: error: `errno' undeclared (first use this function)
> MessengerThread.cpp:381: error: `EINPROGRESS' undeclared (first use this
> function)
> make[3]: *** [MessengerThread.o] Error 1
> make[3]: Leaving directory `/usr/src/qtella-0.7.0/src'

Adding a '#include <cerrno>' to the file should fix this.

--
Arwed v. Merkatz Source Mage GNU/Linux developer
http://www.sourcemage.org




Archive powered by MHonArc 2.6.24.

Top of Page