Date: Mon, 13 Jan 2003 10:05:20 -0800 From: walt <wa1ter@myrealbox.com> To: Martin Blapp <mb@imp.ch> Cc: freebsd-openoffice@FreeBSD.ORG Subject: Re: Newest compile error Message-ID: <3E22FFE0.4030101@myrealbox.com> In-Reply-To: <20030113160533.T72653@levais.imp.ch> References: <3E22C104.9070600@myrealbox.com> <20030113144038.T72653@levais.imp.ch> <3E22D5AF.2010207@myrealbox.com> <20030113160533.T72653@levais.imp.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
Martin Blapp wrote: > Hi Walt, > > >>CURRENT. /usr/ports/editors/openoffice > > > This works fine here. I use the newest CURRENT. > Can you see in your includes how this struct is defined > in your source ? My CURRENT is current as of today also. I'm no programmer, so I hope I give you the info you need. Line 126 in process.c seems to refer to this: #if !defined(NETBSD) extern sal_Char* CMD_ARG_PRG; #endif CMD_ARG_PRG seems to be (re)defined in patch-sal+osl+unx+system.h. This is taken from my system.h: #ifdef FREEBSD # define ETIME ETIMEDOUT # include <pthread.h> # include <sys/sem.h> # include <semaphore.h> # include <dlfcn.h> # include <sys/filio.h> # include <sys/ioctl.h> # include <sys/time.h> # include <sys/uio.h> # include <sys/exec.h> # include <vm/vm.h> # include <vm/vm_param.h> # include <vm/pmap.h> # include <vm/swap_pager.h> # include <machine/vmparam.h> # include <machine/pmap.h> # include <sys/un.h> # include <netinet/tcp.h> # define IORESOURCE_TRANSFER_BSD # include <machine/endian.h> # if BYTE_ORDER == LITTLE_ENDIAN # define _LITTLE_ENDIAN # elif BYTE_ORDER == BIG_ENDIAN # define _BIG_ENDIAN # elif BYTE_ORDER == PDP_ENDIAN # define _PDP_ENDIAN # endif # define NO_PTHREAD_RTL /* __progname isn't sufficient here. We need the full path as well * for e.g. setup and __progname only points to the binary name. */ # define CMD_ARG_PRG_IS_DEFINED # define CMD_ARG_PRG *((struct ps_strings *)PS_STRINGS)->ps_argvstr # define CMD_ARG_ENV environ #endif Is this the information you need? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-openoffice" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E22FFE0.4030101>