[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gmediaserver-devel] FreeBSD 6.0

From: Oskar Liljeblad
Subject: Re: [gmediaserver-devel] FreeBSD 6.0
Date: Wed, 30 Nov 2005 22:28:51 +0100
User-agent: Mutt/1.5.11

On Wednesday, November 30, 2005 at 22:10, Da Bee wrote:

> Thanks for you prompt reply! I replaced malloc.h with stdlib.h everywhere
> and got different error:
> # gmake
> gmake[1]: Entering directory `/tmp/libupnp-1.2.1/ixml'
> gmake[2]: Entering directory `/tmp/libupnp-1.2.1/ixml/src'
> gmake[2]: `obj/' is up to date.
> gmake[2]: Leaving directory `/tmp/libupnp-1.2.1/ixml/src'
> gmake[1]: Leaving directory `/tmp/libupnp-1.2.1/ixml'
> gmake[1]: Entering directory `/tmp/libupnp-1.2.1/threadutil'
> gmake[2]: Entering directory `/tmp/libupnp-1.2.1/threadutil/src'
> gcc -fPIC -Wall -D_REENTRANT -I../inc -MMD  -Os -DNO_DEBUG -DNDEBUG -c
> FreeList.c -o obj/FreeList.o
> gcc -fPIC -Wall -D_REENTRANT -I../inc -MMD  -Os -DNO_DEBUG -DNDEBUG -c
> LinkedList.c -o obj/LinkedList.o
> gcc -fPIC -Wall -D_REENTRANT -I../inc -MMD  -Os -DNO_DEBUG -DNDEBUG -c
> ThreadPool.c -o obj/ThreadPool.o
> ThreadPool.c: In function `SetSeed':
> ThreadPool.c:344: error: invalid use of undefined type `struct pthread'
> ThreadPool.c:344: warning: passing arg 1 of `srand' makes integer from
> pointer without a cast
> ThreadPool.c: In function `ThreadPoolPrintStats':
> ThreadPool.c:1454: warning: long int format, time_t arg (arg 2)

I don't know, ThreadPool.c needs <pthread.h> but it doesn't seem to include
it. You could try adding

#include <pthread.h>

at the top of it, but I don't know if that'd work. Perhaps someone else
who has compiled libupnp on FreeBSD knows what's wrong?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]