search for: sysmacros

Displaying 20 results from an estimated 115 matches for "sysmacros".

2011 Nov 01
1
[LLVMdev] llvm configuration error
...rogram of 20 lines. When I tried to compile programs of spec2006, such as bzip2 or mcf, the following erros showed up. clang spec.o blocksort.o bzip2.o bzlib.o compress.o crctable.o decompress.o huffman.o randtable.o -o bzip2 blocksort.o: In function `gnu_dev_major': /usr/include/sys/sysmacros.h:44: multiple definition of `gnu_dev_major' spec.o:/usr/include/sys/sysmacros.h:44: first defined here blocksort.o: In function `gnu_dev_makedev': /usr/include/sys/sysmacros.h:56: multiple definition of `gnu_dev_makedev' spec.o:/usr/include/sys/sysmacros.h:56: first defined here blocks...
2011 Oct 31
0
[LLVMdev] llvm configuration error
Are you saying this is this the first time you've tried to compile it on the cluster? It's easy to determine if g++ is installed and in the PATH - just get a console on the cluster and type "g++". However, AFAIK cluster nodes are not usually configured for software development, are they? Typically you build your code locally and then job it out to the cluster? Greg
2011 Oct 31
3
[LLVMdev] llvm configuration error
I've compiled llvm several times, but this is the first time I saw this error when I was trying to compile it in a cluster. checking tool compatibility... configure: error: g++|clang++|icc required but not found I am pretty sure g++ is installed and in the path. I then downloaded clang++ binary and set path. The error was still there. OS: opensuse 10.1 gcc, g++ version: 4.2.3 Any idea? Bo
2012 May 24
1
[klibc:master] sys/sysmacros.h: match glibc and define non-__ macros
...p://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=c3110b853f667d544717a9cdd6d96b1a2a7365bf Author: H. Peter Anvin <hpa at zytor.com> AuthorDate: Thu, 24 May 2012 07:43:31 -0700 Committer: H. Peter Anvin <hpa at zytor.com> CommitDate: Thu, 24 May 2012 07:43:31 -0700 [klibc] sys/sysmacros.h: match glibc and define non-__ macros Match glibc and define non-double-underscore versions of the dev_t accessors as macros. Signed-off-by: H. Peter Anvin <hpa at zytor.com> --- usr/include/sys/sysmacros.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/usr/...
2009 Dec 14
2
[LLVMdev] clang error: multiple definition of `gnu_dev_*'
When trying to link more than one object files compiled with clang, I run into errors of the following type: $ clang -fblocks -g -I$HOME/opt/include -L$HOME/opt/lib/ -o helloworld helloworld.c hello.o world.o -lBlocksRuntime world.o: In function `gnu_dev_major': /usr/include/sys/sysmacros.h:43: multiple definition of `gnu_dev_major' hello.o:/usr/include/sys/sysmacros.h:43: first defined here world.o: In function `gnu_dev_minor': /usr/include/sys/sysmacros.h:49: multiple definition of `gnu_dev_minor' hello.o:/usr/include/sys/sysmacros.h:49: first defined here world.o: In...
2009 Dec 14
0
[LLVMdev] clang error: multiple definition of `gnu_dev_*'
...link more than one object files compiled with clang, I run into > errors of the following type: > > $ clang -fblocks -g -I$HOME/opt/include -L$HOME/opt/lib/ -o helloworld > helloworld.c hello.o world.o -lBlocksRuntime > world.o: In function `gnu_dev_major': > /usr/include/sys/sysmacros.h:43: multiple definition of `gnu_dev_major' > hello.o:/usr/include/sys/sysmacros.h:43: first defined here > world.o: In function `gnu_dev_minor': > /usr/include/sys/sysmacros.h:49: multiple definition of `gnu_dev_minor' > hello.o:/usr/include/sys/sysmacros.h:49: first defin...
2017 Mar 01
2
[PATCH libguestfs] Use AC_HEADER_MAJOR to find definitions of major, minor, makedev.
...pes sys_wait vasprintf vc-list-files diff --git a/cat/ls.c b/cat/ls.c index e0b5ff8..7568a5f 100644 --- a/cat/ls.c +++ b/cat/ls.c @@ -31,7 +31,14 @@ #include <assert.h> #include <time.h> #include <libintl.h> + +#if MAJOR_IN_MKDEV +#include <sys/mkdev.h> +#elif MAJOR_IN_SYSMACROS #include <sys/sysmacros.h> +#else +#include <sys/types.h> +#endif #include "human.h" #include "getprogname.h" diff --git a/daemon/mknod.c b/daemon/mknod.c index f8640ea..35dad15 100644 --- a/daemon/mknod.c +++ b/daemon/mknod.c @@ -25,7 +25,13 @@ #include <fc...
2015 Apr 16
2
[LLVMdev] Compile SPEC2006 with clang-3.2, multi definition errors.
...20061020 Copyright 2005 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty. *2. errors when link* /tmp/concat-yeQL2V.o: In function `gnu_dev_major': /usr/include/sys/sysmacros.h:44: multiple definition of `gnu_dev_major' /tmp/alloca-YSgYzY.o:/usr/include/sys/sysmacros.h:44: first defined here /tmp/concat-yeQL2V.o: In function `gnu_dev_makedev': /usr/include/sys/sysmacros.h:56: multiple definition of `gnu_dev_makedev' /tmp/alloca-YSgYzY.o:/usr/include/sys/sysm...
2006 Jan 02
0
Getting Cannot compute sizeof (int) on rsync-2.6.6
...whether sys/types.h defines makedev... no checking sys/mkdev.h usability... no checking sys/mkdev.h presence... no checking for sys/mkdev.h... no checking sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes checking for int... yes checking size of int... co...
2006 Jan 02
0
SUMMARY--Getting Cannot compute sizeof (int) on rsync-2.6.6
...whether sys/types.h defines makedev... no checking sys/mkdev.h usability... no checking sys/mkdev.h presence... no checking for sys/mkdev.h... no checking sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes checking for int... yes checking size of int... co...
2008 Nov 28
2
Autocreate plugin for 1.1 - trying to patch under FreeBSD
Hello all. I try to add Autocreate plugin patch to my FreeBSD host. I think I make all wrong. Could you tell me how to patch it? What I do: cd /usr/ports/mail/dovecot make extract cd cd work/dovecot-1.1.6/src/ fetch http://www.dovecot.org/patches/1.1/autocreate-plugin.c sh -x /tmp/patch.sh + export DOVECOT=~/usr/ports/mail/dovecot/work/dovecot-1.1.6/src + gcc -fPIC -shared -g -Wall
2004 Sep 03
2
0.99.11-rc3
http://dovecot.org/rc/ Maybe this one works? :) -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20040903/4e4d3578/attachment-0001.bin>
2001 Nov 08
0
OpenSSH 3.0p1+AFS+PAM on Solaris 8
...8 13:37:21 2001 @@ -437,6 +437,7 @@ netinet/in_systm.h paths.h poll.h pty.h regex.h \ security/pam_appl.h shadow.h stddef.h stdint.h \ strings.h sys/bitypes.h sys/bsdtty.h sys/cdefs.h \ + sys/ioccom.h \ sys/poll.h sys/queue.h sys/select.h sys/stat.h \ sys/stropts.h sys/sysmacros.h sys/time.h \ sys/ttcompat.h sys/un.h time.h ttyent.h usersec.h \ --- configure.ORIG Sat Nov 3 19:25:32 2001 +++ configure Thu Nov 8 13:38:31 2001 @@ -5895,6 +5895,7 @@ netinet/in_systm.h paths.h poll.h pty.h regex.h \ security/pam_appl.h shadow.h stddef.h stdint.h \ st...
2003 Feb 01
1
Build errors on AIX 4.2.1: nanosleep
...--- configure.ac 28 Jan 2003 00:33:44 -0000 1.104 +++ configure.ac 1 Feb 2003 01:49:04 -0000 @@ -388,7 +388,7 @@ rpc/types.h security/pam_appl.h shadow.h stddef.h stdint.h \ strings.h sys/bitypes.h sys/bsdtty.h sys/cdefs.h \ sys/mman.h sys/pstat.h sys/select.h sys/stat.h \ - sys/stropts.h sys/sysmacros.h sys/time.h \ + sys/stropts.h sys/sysmacros.h sys/time.h sys/timers.h \ sys/un.h time.h tmpdir.h ttyent.h usersec.h \ util.h utime.h utmp.h utmpx.h) @@ -604,8 +604,8 @@ clock fchmod fchown freeaddrinfo futimes gai_strerror \ getaddrinfo getcwd getgrouplist getnameinfo getopt getpeereid\...
2000 Aug 01
2
[2.1.1p4] utmp patch for SunOS 4.1.x
...# Checks for header files. ! AC_CHECK_HEADERS(bstring.h endian.h floatingpoint.h lastlog.h limits.h login.h maillock.h netdb.h netgroup.h netinet/in_systm.h paths.h poll.h pty.h shadow.h security/pam_appl.h sys/bitypes.h sys/bsdtty.h sys/cdefs.h sys/poll.h sys/select.h sys/stat.h sys/stropts.h sys/sysmacros.h sys/time.h sys/ttcompat.h stddef.h time.h usersec.h util.h utmp.h utmpx.h) # Checks for library functions. ! AC_CHECK_FUNCS(arc4random atexit b64_ntop bcopy bindresvport_af clock freeaddrinfo gai_strerror getaddrinfo getnameinfo getrusage inet_aton innetgr md5_crypt memmove mkdtemp on_exit o...
2001 Feb 16
1
OpenSSH 2.3.0p1 port to BSDI BSD/OS
...files. -AC_CHECK_HEADERS(bstring.h endian.h floatingpoint.h getopt.h lastlog.h limits.h login.h login_cap.h maillock.h netdb.h netgroup.h netinet/in_systm.h paths.h poll.h pty.h shadow.h security/pam_appl.h sys/bitypes.h sys/bsdtty.h sys/cdefs.h sys/poll.h sys/select.h sys/stat.h sys/stropts.h sys/sysmacros.h sys/time.h sys/ttcompat.h sys/un.h stddef.h time.h ttyent.h usersec.h util.h utmp.h utmpx.h vis.h) +AC_CHECK_HEADERS(bstring.h endian.h floatingpoint.h getopt.h lastlog.h limits.h login.h login_cap.h maillock.h netdb.h netgroup.h netinet/in_systm.h paths.h poll.h pty.h shadow.h security/pam_appl....
2010 Nov 20
3
[PATCH 1/4] utils: cleanup unused includes
...<stdio.h> #include <ctype.h> #include <stdlib.h> diff --git a/usr/utils/losetup.c b/usr/utils/losetup.c index 1a47fa9..59030d7 100644 --- a/usr/utils/losetup.c +++ b/usr/utils/losetup.c @@ -17,6 +17,7 @@ #include <sys/stat.h> #include <sys/mman.h> #include <sys/sysmacros.h> +#include <stdarg.h> #include <string.h> #include "loop.h" @@ -349,9 +350,6 @@ int del_loop (const char *device) } -#include <getopt.h> -#include <stdarg.h> - int verbose = 0; char *progname; diff --git a/usr/utils/mkfifo.c b/usr/utils/mkfifo.c i...
2003 Jan 25
1
Build failures: nanosleep on Solaris and AIX 4.2.x
...-- configure.ac 20 Jan 2003 04:20:25 -0000 1.102 +++ configure.ac 25 Jan 2003 06:48:20 -0000 @@ -388,7 +388,7 @@ rpc/types.h security/pam_appl.h shadow.h stddef.h stdint.h \ strings.h sys/bitypes.h sys/bsdtty.h sys/cdefs.h \ sys/mman.h sys/pstat.h sys/select.h sys/stat.h \ - sys/stropts.h sys/sysmacros.h sys/time.h \ + sys/stropts.h sys/sysmacros.h sys/time.h sys/timers.h \ sys/un.h time.h tmpdir.h ttyent.h usersec.h \ util.h utime.h utmp.h utmpx.h) @@ -604,7 +604,7 @@ clock fchmod fchown freeaddrinfo futimes gai_strerror \ getaddrinfo getcwd getgrouplist getnameinfo getopt getpeereid\...
2001 Mar 29
3
Patches for OpenSSH 2.5.2p2: evaluate /etc/default/login, makefiles manpages
...string.h endian.h floatingpoint.h getopt.h glob.h lastlog.h limits.h login.h login_cap.h maillock.h netdb.h netgroup.h netinet/in_systm.h paths.h poll.h pty.h regex.h shadow.h security/pam_appl.h sys/bitypes.h sys/bsdtty.h sys/cdefs.h sys/poll.h sys/queue.h sys/select.h sys/stat.h sys/stropts.h sys/sysmacros.h sys/time.h sys/ttcompat.h sys/un.h stddef.h time.h ttyent.h usersec.h util.h utime.h utmp.h utmpx.h vis.h) +AC_CHECK_HEADERS(bstring.h endian.h floatingpoint.h getopt.h glob.h lastlog.h limits.h login.h login_cap.h maillock.h netdb.h netgroup.h netinet/in_systm.h paths.h poll.h pty.h regex.h shad...
2017 Mar 01
3
[PATCH supermin 0/2] Use AC_HEADER_MAJOR to find definitions of major, minor, makedev.
Quite a complex fix in the end, see the comment in the second commit. Rich.