search for: have_unistd_h

Displaying 20 results from an estimated 102 matches for "have_unistd_h".

2005 Apr 19
0
R 2.0.1 install problem on Solaris 9
...ern "C" void std::exit (int) throw (); using std::exit; | #endif | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LIBM 1 | /* end confdefs.h. */ | | | int | main () | { | main (); | ; | return 0; | } configure:23304: gcc -c -g -O2 -I/usr/include conftest.c >&5 conftest.c: In function `main': conftest.c:73: error: `bogus' undeclared (first use in...
2003 Mar 29
1
compling errors for sun unix (PR#2702)
...&& HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #if HAVE_STRINGS_H | # include <strings.h> | #endif | #if HAVE_INTTYPES_H | # include <inttypes.h> | #else | # if HAVE_STDINT_H | # include <stdint.h> | # endif | #endif | #if HAVE_UNISTD_H | # include <unistd.h> | #endif | | #include <stdint.h> configure:5214: result: no configure:5177: checking for unistd.h configure:5194: gcc -c -g -O2 -I/usr/local/include conftest.c >&5 configure:5197: $? = 0 configure:5200: test -s conftest.o configure:5203: $? = 0 configure:5...
2004 Oct 23
1
Issues with compiling wine
...&& HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #if HAVE_STRINGS_H | # include <strings.h> | #endif | #if HAVE_INTTYPES_H | # include <inttypes.h> | #else | # if HAVE_STDINT_H | # include <stdint.h> | # endif | #endif | #if HAVE_UNISTD_H | # include <unistd.h> | #endif | | #include <stdint.h> configure:7169: result: no configure:7124: checking for unistd.h configure:7140: gcc -c -g -O2 -I/usr/openwin/include conftest.c >&5 configure:7146: $? = 0 configure:7149: test -z || test ! -s conftest.err configure:7...
2008 Apr 25
1
package compilation: including external libraries in windows compilation
...k2.h> #include <io.h> My problem is I do not know how to instruct the preprocessor to include the linux .h files when in linux and the windows one in windows. I thought I found a solution online by using: #if defined(Win32) #include <winsock2.h> #include <io.h> #else #ifdef HAVE_UNISTD_H #include <unistd.h> #endif #ifdef HAVE_BSD_NETWORKING #include <netdb.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #endif #endif But I still get an error when these are compiled on the R-distribution. I do not understand where I am suppose...
2019 Sep 09
0
[PATCH] autoconf tweaks for C99 compilers
...the patch below is needed. Thanks, Florian diff --git a/configure.ac b/configure.ac index 4f68e98a..b5c7a582 100644 --- a/configure.ac +++ b/configure.ac @@ -173,6 +173,9 @@ AC_RUN_IFELSE([AC_LANG_SOURCE([[ #include <fcntl.h> #include <sys/types.h> #include <sys/wait.h> +#if HAVE_UNISTD_H +# include <unistd.h> +#endif int main(void) { @@ -197,7 +200,7 @@ int main(void) } wait(&status); unlink(tpl); - exit(WEXITSTATUS(status)); + return WEXITSTATUS(status); } ]])],[rsync_cv_HAVE_BROKEN_LARGEFILE=yes],[rsync_cv_HAVE_BROKEN_LARGEFILE=no],[rsync_cv_HAVE_BROKEN_LARG...
2004 Aug 06
3
ices2 compilations problems
...&& HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #if HAVE_STRINGS_H | # include <strings.h> | #endif | #if HAVE_INTTYPES_H | # include <inttypes.h> | #else | # if HAVE_STDINT_H | # include <stdint.h> | # endif | #endif | #if HAVE_UNISTD_H | # include <unistd.h> | #endif | | #include <stdint.h> configure:3989: result: no configure:3952: checking for unistd.h configure:3969: gcc -c -g -O2 conftest.c >&5 configure:3972: $? = 0 configure:3975: test -s conftest.o configure:3978: $? = 0 configure:3989: result: yes con...
2004 Aug 06
3
ices2 compilations problems
Hi, I have an Ices2 comp problem, it can't find libshout. I have installed Libshout 2.0 in /home/Darkmeteor the configure line I'm using for ices2 is : ./configure --prefix=/home/Darkmeteor --with-ogg-prefix=/home/Darkmeteor --with-vorbis-prefix=/home/Darkmeteor --with-shout-prefix=/home/Darkmeteor Problem : checking for Ogg... yes checking for Vorbis... yes checking for Shout... no
2005 May 12
2
Problem configuring speex 1.1.8
Can you send me the config.log? Jean-Marc Le vendredi 13 mai 2005 ? 00:16 +0200, Pierre a ?crit : > Jean-Marc Valin wrote: > > What platform (OS, compiler/version) > > GNU/Linux > kernel 2.6.11.8 > gcc 3.4.3 > > > Also, does it work with no options. > > No, I just tried with just "./configure" and I have the same error. > > -- Jean-Marc
2010 Jan 22
2
[LLVMdev] Compiling LLVM under vista with msdev 2008 gives a few errors
...r portability. Anyways, I found the following problems trying to compile llvm rev 94074 with the solution generated using cmake 2.8 (including the clang front end) on 32bit vista: lib/system Errno.cpp : had to add "#undef HAVE_STRERROR_R" raw_ostream.cpp: had to add "#undef HAVE_UNISTD_H" (apparently config.h was not generated correctly) lib/support IsNan.cpp : had to add "#define isnan _isnan #include <float.h>" IsInf.cpp : had to add "#define isinf !_finite #include <float.h>" examples/ParallelJIT ParallelJIT.cpp : "#i...
2012 May 09
1
warning from configuring openssh-6.0p1
...rot.org" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define _FILE_OFFSET_BITS 64 | #define LOGIN_PROGRAM_FALLBACK "/bin/login" | #define _PATH_PASSWD_PROG "/usr/bin/passwd" | #define HAVE_RLIMIT_NPROC /**/ | #define HAVE_ATTRIBUTE__NONNULL__ 1 | #define HAVE_CRYPT_H 1 | #define HAVE_DIRENT_H 1 | #define HAVE_ENDIAN_H 1 | #def...
2005 Feb 05
2
Problems compiling (configure) R on Ubuntu linux (debian)
...::exit (int) throw (); using std::exit; | #endif | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LIBM 1 | /* end confdefs.h. */ | | | int | main () | { | main (); | ; | return 0; | } configure:21355: result: no configure:21366: checking for main in -ltermcap configure:21390: gcc -o conftest -g -O2 -I/usr/local/include -L/usr/local/lib onftest.c...
2005 May 13
0
Problem configuring speex 1.1.8
...;" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | | int | main () | { | exit (42); | ; | return 0; | } configure:4649: g++ -c -s -O3 -march=i686 conftest.cc >&5 configure:4655: $? = 0 configure:4658: test -z || test ! -s conftest.err configure:4661: $? = 0 configure:4664: test...
2005 May 13
1
Problem configuring speex 1.1.8
...gt; | #define STDC_HEADERS 1 > | #define HAVE_SYS_TYPES_H 1 > | #define HAVE_SYS_STAT_H 1 > | #define HAVE_STDLIB_H 1 > | #define HAVE_STRING_H 1 > | #define HAVE_MEMORY_H 1 > | #define HAVE_STRINGS_H 1 > | #define HAVE_INTTYPES_H 1 > | #define HAVE_STDINT_H 1 > | #define HAVE_UNISTD_H 1 > | #define HAVE_DLFCN_H 1 > | /* end confdefs.h. */ > | > | int > | main () > | { > | exit (42); > | ; > | return 0; > | } > configure:4649: g++ -c -s -O3 -march=i686 conftest.cc >&5 > configure:4655: $? = 0 > configure:4658: test -z || te...
2005 May 08
2
Problem configuring speex 1.1.8
...;" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | | int | main () | { | exit (42); | ; | return 0; | } configure:4649: g++ -c -s -O3 -march=i686 conftest.cc >&5 configure:4655: $? = 0 configure:4658: test -z || test ! -s conftest.err configure:4661: $? = 0 configure:4664: test...
2010 Sep 03
1
TinycoreLinux Install
...n-core" | #define VERSION "1.2.3" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:11662: result: g++ -E configure:11682: g++ -E conftest.cpp configure:11682: $? = 0 configure:11696: g++ -E conftest.cpp conftest.cpp:23:28: error: ac_nonexisten...
2014 Sep 26
1
configure: error: linking to Fortran libraries from C fails
...uot;" | #define HAVE_VISIBILITY_ATTRIBUTE 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LIBM 1 | #define HAVE_LIBDL 1 | #define HAVE_READLINE_HISTORY_H 1 | #define HAV...
2004 Sep 27
0
Compiling ices2 on solaris
...t;ices" | #define VERSION "2.0.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | #include <stdlib.h> | #endif | #define _XOPEN_SOURCE 600 | #define __EXTENSIONS__ 1 | #define _GNU_SOURCE | #define STDC_HEADERS 1 | #define WORDS_BIGENDIAN 1 | /* end confdefs.h. */ | #include <stdio.h> | #if HAVE_SYS_TYPES_H | # inclu...
2006 Jan 16
1
problem unpacking R sources (PR#8492)
...fo for tar and gunzip provided below (GNU legalese edited out), along with the error messages I get. Thanks. Steve /notcygwin[506] gunzip --version gunzip 1.3.5 (2002-09-30) Copyright 2002 Free Software Foundation Copyright 1992-1993 Jean-loup Gailly Compilation options: DIRENT UTIME STDC_HEADERS HAVE_UNISTD_H HAVE_MEMORY_H HAVE_STRING_H HAVE_LSTAT ASMV Written by Jean-loup Gailly. /notcygwin[507] tar --version tar (GNU tar) 1.13.25 Copyright (C) 2001 Free Software Foundation, Inc. Written by John Gilmore and Jay Fenlason. /notcygwin[508] gunzip R-2.2.1.tar.gz R-2.2.1.tar.gz: 0.2% -- replaced with...
2011 Oct 25
2
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
The patch does inseret unistd.h as below. However, I am still getting exactly same error when I do make.if you have any suggestions please let me know. #if HAVE_UNISTD_H #include <unistd.h> #endif   =========================================== Phone : 82-42-860-1838 Fax : 82-42-860-6790 Cell Phone: 82-10-7599-1981 =========================================== --- On Mon, 10/24/11, Eli Friedman <eli.friedman at gmail.com> wrote: From: Eli Friedman...
2002 Jun 08
1
[Bug 269] New: OpenSSH doesn't compile with dynamic OpenSSL libraries
...r pam_set_item in -lpam... yes checking for pam_getenvlist... yes checking whether pam_strerror takes only one argument... no configure: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) *** Here are the last 8 lines from config.log: #define HAVE_INTTYPES_H 1 #define HAVE_UNISTD_H 1 #define GETPGRP_VOID 1 #define HAVE_LIBDL 1 #define HAVE_LIBPAM 1 #define HAVE_PAM_GETENVLIST 1 #define USE_PAM 1 configure: exit 1 This issue is reproducible with OpenSSL 0.9.6c and OpenSSH 3.2.3p1 This issue is important because system security updates are a lot more difficult if I have to...