Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32625 - evms 2.2.0 compilation fails (remote.c:2014: error: syntax error before "memcpy")
Summary: evms 2.2.0 compilation fails (remote.c:2014: error: syntax error before "memc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Brian Jackson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-03 07:24 UTC by whirm
Modified: 2003-11-24 08:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to EVMS engine/remote.c for compiling with nptl (remote.c.patch,968 bytes, patch)
2003-11-21 08:49 UTC, Steve Dobbelstein
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description whirm 2003-11-03 07:24:23 UTC
Reproducible: Always
Steps to Reproduce:
1.emerge rsync 
2.emerge evms 
3.boom.... 
Actual Results:  
hydra root # emerge evms 
Calculating dependencies ...done! 
>>> emerge (1 of 1) sys-fs/evms-2.1.1 to / 
>>> md5 src_uri ;-) evms-2.1.1.tar.gz 
>>> Unpacking source... 
>>> Unpacking evms-2.1.1.tar.gz to /var/tmp/portage/evms-2.1.1/work 
>>> Source unpacked. 
checking for a BSD-compatible install... /bin/install -c 
checking whether make sets $(MAKE)... yes 
checking whether ln -s works... yes 
checking for gcc... gcc 
checking for C compiler default output... a.out 
checking whether the C compiler works... yes 
checking whether we are cross compiling... no 
checking for suffix of executables... 
checking for suffix of object files... o 
checking whether we are using the GNU C compiler... yes 
checking whether gcc accepts -g... yes 
checking for gcc option to accept ANSI C... none needed 
checking how to run the C preprocessor... gcc -E 
checking for main in -lc... yes 
checking for main in -ldl... yes 
checking for pthread_create in -lpthread... yes 
checking for uuid_compare in -luuid... yes 
checking for newwin in -lncurses... yes 
checking for new_panel in -lpanel... yes 
checking for readline in -lreadline... yes 
checking for floorf in -lm... yes 
checking for ha_gs_join in -lha_gs_r... no 
checking for dirent.h that defines DIR... yes 
checking for library containing opendir... none required 
checking for egrep... grep -E 
checking for ANSI C header files... yes 
checking for sys/types.h... yes 
checking for sys/stat.h... yes 
checking for stdlib.h... yes 
checking for string.h... yes 
checking for memory.h... yes 
checking for strings.h... yes 
checking for inttypes.h... yes 
checking for stdint.h... yes 
checking for unistd.h... yes 
checking whether sys/types.h defines makedev... yes 
checking whether stat file-mode macros are broken... no 
checking for ANSI C header files... (cached) yes 
checking for sys/wait.h that is POSIX.1 compatible... yes 
checking whether time.h and sys/time.h may both be included... yes 
checking ctype.h usability... yes 
checking ctype.h presence... yes 
checking for ctype.h... yes 
checking errno.h usability... yes 
checking errno.h presence... yes 
checking for errno.h... yes 
checking dlfcn.h usability... yes 
checking dlfcn.h presence... yes 
checking for dlfcn.h... yes 
checking fcntl.h usability... yes 
checking fcntl.h presence... yes 
checking for fcntl.h... yes 
checking for inttypes.h... (cached) yes 
checking limits.h usability... yes 
checking limits.h presence... yes 
checking for limits.h... yes 
checking mntent.h usability... yes 
checking mntent.h presence... yes 
checking for mntent.h... yes 
checking pthread.h usability... yes 
checking pthread.h presence... yes 
checking for pthread.h... yes 
checking semaphore.h usability... yes 
checking semaphore.h presence... yes 
checking for semaphore.h... yes 
checking stdarg.h usability... yes 
checking stdarg.h presence... yes 
checking for stdarg.h... yes 
checking sys/ioctl.h usability... yes 
checking sys/ioctl.h presence... yes 
checking for sys/ioctl.h... yes 
checking sys/mount.h usability... yes 
checking sys/mount.h presence... yes 
checking for sys/mount.h... yes 
checking sys/queue.h usability... yes 
checking sys/queue.h presence... yes 
checking for sys/queue.h... yes 
checking sys/reboot.h usability... yes 
checking sys/reboot.h presence... yes 
checking for sys/reboot.h... yes 
checking sys/time.h usability... yes 
checking sys/time.h presence... yes 
checking for sys/time.h... yes 
checking sys/utsname.h usability... yes 
checking sys/utsname.h presence... yes 
checking for sys/utsname.h... yes 
checking readline/readline.h usability... yes 
checking readline/readline.h presence... yes 
checking for readline/readline.h... yes 
checking asm/vtoc.h usability... no 
checking asm/vtoc.h presence... no 
checking for asm/vtoc.h... no 
checking ha_gs.h usability... no 
checking ha_gs.h presence... no 
checking for ha_gs.h... no 
checking for glib-config... /usr/bin/glib-config 
checking for GLIB - version >= 1.2.0... yes 
checking for gtk-config... /usr/bin/gtk-config 
checking for GTK - version >= 1.2.0... yes 
checking for heartbeat... no 
checking for an ANSI C-conforming const... yes 
checking for inline... inline 
checking for function prototypes... yes 
checking for mode_t... yes 
checking for off_t... yes 
checking for pid_t... yes 
checking return type of signal handlers... void 
checking for size_t... yes 
checking whether sys_siglist is declared... no 
checking for struct stat.st_blksize... yes 
checking for struct stat.st_rdev... yes 
checking whether struct tm is in sys/time.h or time.h... time.h 
checking for unistd.h... (cached) yes 
checking vfork.h usability... no 
checking vfork.h presence... no 
checking for vfork.h... no 
checking for fork... yes 
checking for vfork... yes 
checking for working fork... yes 
checking for working vfork... (cached) yes 
checking for stdlib.h... (cached) yes 
checking for GNU libc compatible malloc... yes 
checking for working memcmp... yes 
checking whether lstat dereferences a symlink specified with a trailing 
slash... yes 
checking whether stat accepts an empty string... no 
checking whether lstat accepts an empty string... no 
checking for strftime... yes 
checking for vprintf... yes 
checking for _doprnt... no 
checking for gethostname... yes 
checking for gettimeofday... yes 
checking for mkdir... yes 
checking for strdup... yes 
checking for strerror... yes 
checking for strstr... yes 
checking for strtod... yes 
checking for strtol... yes 
checking for strtoul... yes 
checking for uname... yes 
configure: checking which EVMS plugins to build: 
configure:      building aix 
configure:      building bbr 
configure:      building bsd 
configure:      building bbr_seg 
configure:      building csm 
configure:      building disk 
configure:      building dos 
configure:      building drivelink 
configure:      building ext2 
configure:      building gpt 
configure:      not building ha ... requires linux-ha package 
configure:      building jfs 
configure:      building lvm 
configure:      building mac 
configure:      building md 
configure:      building os2 
configure:      building reiser 
configure:      building replace 
configure:      not building rsct ... requires ha_gs_r library 
configure:      not building s390 ... requires asm/vtoc.h 
configure:      building snapshot 
configure:      building sparse 
configure:      building swap 
configure:      building xfs 
configure: checking which EVMS user interfaces to build: 
configure:      building cli 
configure:      building gui 
configure:      not building text-mode-old ... not enabled by user 
configure:      building text-mode 
configure:      building utils 
configure: creating ./config.status 
config.status: creating make.rules 
config.status: creating Makefile 
config.status: creating lib/Makefile 
config.status: creating lib/dlist/Makefile 
config.status: creating engine/Makefile 
config.status: creating plugins/Makefile 
config.status: creating plugins/aix/Makefile 
config.status: creating plugins/bbr/Makefile 
config.status: creating plugins/bbr_seg/Makefile 
config.status: creating plugins/bsd/Makefile 
config.status: creating plugins/csm/Makefile 
config.status: creating plugins/disk/Makefile 
config.status: creating plugins/dos/Makefile 
config.status: creating plugins/drivelink/Makefile 
config.status: creating plugins/ext2/Makefile 
config.status: creating plugins/gpt/Makefile 
config.status: creating plugins/ha/Makefile 
config.status: creating plugins/jfs/Makefile 
config.status: creating plugins/lvm/Makefile 
config.status: creating plugins/mac/Makefile 
config.status: creating plugins/md/Makefile 
config.status: creating plugins/os2/Makefile 
config.status: creating plugins/reiser/Makefile 
config.status: creating plugins/replace/Makefile 
config.status: creating plugins/rsct/Makefile 
config.status: creating plugins/s390/Makefile 
config.status: creating plugins/snapshot/Makefile 
config.status: creating plugins/sparse/Makefile 
config.status: creating plugins/swap/Makefile 
config.status: creating plugins/xfs/Makefile 
config.status: creating ui/Makefile 
config.status: creating ui/cli/Makefile 
config.status: creating ui/gtk/Makefile 
config.status: creating ui/ncurses/Makefile 
config.status: creating ui/ncurses2/Makefile 
config.status: creating ui/utils/Makefile 
config.status: creating include/Makefile 
config.status: creating doc/Makefile 
config.status: creating doc/man/Makefile 
config.status: creating tests/Makefile 
make[1]: Entering directory `/var/tmp/portage/evms-2.1.1/work/evms-2.1.1/lib' 
make[2]: Entering directory `/var/tmp/portage/evms-2.1.1/work/evms-2.1.1/lib/
dlist' 
gcc -E -M -I../../include -I../../lib/dlist   -DMAJOR_VERSION=2 
-DMINOR_VERSION=0 -DPATCH_LEVEL=0 -DVERSION=\"2.0.0\" -DDATE=\"11/03/03\" 
dlist.c > .depend 
gcc -I../../include -I../../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=0 
-DPATCH_LEVEL=0 -DVERSION=\"2.0.0\" -DDATE=\"11/03/03\" -Wall -fPIC 
-fno-strict-aliasing -march=athlon-mp -O3 -pipe -fomit-frame-pointer 
-ffast-math -mmmx -m3dnow  -c dlist.c -o dlist.o 
gcc -shared  -Wl,-soname,libdlist-2.0.so.0 -o libdlist-2.0.so.0.0 dlist.o 
ar rcs libdlist.a dlist.o 
ln -s -f libdlist-2.0.so.0.0 libdlist.so 
make[2]: Leaving directory `/var/tmp/portage/evms-2.1.1/work/evms-2.1.1/lib/
dlist' 
make[1]: Leaving directory `/var/tmp/portage/evms-2.1.1/work/evms-2.1.1/lib' 
make[1]: Entering directory `/var/tmp/portage/evms-2.1.1/work/evms-2.1.1/
engine' 
gcc -E -M -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=1 
-DPATCH_LEVEL=1 -DVERSION=\"2.1.1\" -DDATE=\"11/03/03\" -DPluginDirectory=\"/
lib/evms\" cluster.c commit.c common.c config.c container.c crc.c daemon.c 
discover.c dload.c dm-ioctl3.c dm-ioctl4.c dm.c engine.c expand.c faulthdlr.c 
handlemgr.c internalAPI.c memman.c message.c object.c option.c remote.c 
shrink.c task.c volume.c > .depend 
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=1 
-DPATCH_LEVEL=1 -DVERSION=\"2.1.1\" -DDATE=\"11/03/03\" -DPluginDirectory=\"/
lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe 
-fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c cluster.c -o cluster.o 
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=1 
-DPATCH_LEVEL=1 -DVERSION=\"2.1.1\" -DDATE=\"11/03/03\" -DPluginDirectory=\"/
lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe 
-fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c commit.c -o commit.o 
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=1 
-DPATCH_LEVEL=1 -DVERSION=\"2.1.1\" -DDATE=\"11/03/03\" -DPluginDirectory=\"/
lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe 
-fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c common.c -o common.o 
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=1 
-DPATCH_LEVEL=1 -DVERSION=\"2.1.1\" -DDATE=\"11/03/03\" -DPluginDirectory=\"/
lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe 
-fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c config.c -o config.o 
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=1 
-DPATCH_LEVEL=1 -DVERSION=\"2.1.1\" -DDATE=\"11/03/03\" -DPluginDirectory=\"/
lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe 
-fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c container.c -o container.o 
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=1 
-DPATCH_LEVEL=1 -DVERSION=\"2.1.1\" -DDATE=\"11/03/03\" -DPluginDirectory=\"/
lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe 
-fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c crc.c -o crc.o 
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=1 
-DPATCH_LEVEL=1 -DVERSION=\"2.1.1\" -DDATE=\"11/03/03\" -DPluginDirectory=\"/
lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe 
-fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c daemon.c -o daemon.o 
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=1 
-DPATCH_LEVEL=1 -DVERSION=\"2.1.1\" -DDATE=\"11/03/03\" -DPluginDirectory=\"/
lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe 
-fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c discover.c -o discover.o 
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=1 
-DPATCH_LEVEL=1 -DVERSION=\"2.1.1\" -DDATE=\"11/03/03\" -DPluginDirectory=\"/
lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe 
-fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c dload.c -o dload.o 
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=1 
-DPATCH_LEVEL=1 -DVERSION=\"2.1.1\" -DDATE=\"11/03/03\" -DPluginDirectory=\"/
lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe 
-fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c dm-ioctl3.c -o dm-ioctl3.o 
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=1 
-DPATCH_LEVEL=1 -DVERSION=\"2.1.1\" -DDATE=\"11/03/03\" -DPluginDirectory=\"/
lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe 
-fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c dm-ioctl4.c -o dm-ioctl4.o 
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=1 
-DPATCH_LEVEL=1 -DVERSION=\"2.1.1\" -DDATE=\"11/03/03\" -DPluginDirectory=\"/
lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe 
-fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c dm.c -o dm.o 
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=1 
-DPATCH_LEVEL=1 -DVERSION=\"2.1.1\" -DDATE=\"11/03/03\" -DPluginDirectory=\"/
lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe 
-fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c engine.c -o engine.o 
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=1 
-DPATCH_LEVEL=1 -DVERSION=\"2.1.1\" -DDATE=\"11/03/03\" -DPluginDirectory=\"/
lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe 
-fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c expand.c -o expand.o 
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=1 
-DPATCH_LEVEL=1 -DVERSION=\"2.1.1\" -DDATE=\"11/03/03\" -DPluginDirectory=\"/
lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe 
-fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c faulthdlr.c -o faulthdlr.o 
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=1 
-DPATCH_LEVEL=1 -DVERSION=\"2.1.1\" -DDATE=\"11/03/03\" -DPluginDirectory=\"/
lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe 
-fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c handlemgr.c -o handlemgr.o 
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=1 
-DPATCH_LEVEL=1 -DVERSION=\"2.1.1\" -DDATE=\"11/03/03\" -DPluginDirectory=\"/
lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe 
-fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c internalAPI.c -o 
internalAPI.o 
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=1 
-DPATCH_LEVEL=1 -DVERSION=\"2.1.1\" -DDATE=\"11/03/03\" -DPluginDirectory=\"/
lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe 
-fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c memman.c -o memman.o 
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=1 
-DPATCH_LEVEL=1 -DVERSION=\"2.1.1\" -DDATE=\"11/03/03\" -DPluginDirectory=\"/
lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe 
-fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c message.c -o message.o 
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=1 
-DPATCH_LEVEL=1 -DVERSION=\"2.1.1\" -DDATE=\"11/03/03\" -DPluginDirectory=\"/
lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe 
-fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c object.c -o object.o 
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=1 
-DPATCH_LEVEL=1 -DVERSION=\"2.1.1\" -DDATE=\"11/03/03\" -DPluginDirectory=\"/
lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe 
-fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c option.c -o option.o 
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=1 
-DPATCH_LEVEL=1 -DVERSION=\"2.1.1\" -DDATE=\"11/03/03\" -DPluginDirectory=\"/
lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe 
-fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c remote.c -o remote.o 
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=1 
-DPATCH_LEVEL=1 -DVERSION=\"2.1.1\" -DDATE=\"11/03/03\" -DPluginDirectory=\"/
lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe 
-fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c shrink.c -o shrink.o 
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=1 
-DPATCH_LEVEL=1 -DVERSION=\"2.1.1\" -DDATE=\"11/03/03\" -DPluginDirectory=\"/
lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe 
-fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c task.c -o task.o 
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=1 
-DPATCH_LEVEL=1 -DVERSION=\"2.1.1\" -DDATE=\"11/03/03\" -DPluginDirectory=\"/
lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe 
-fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c volume.c -o volume.o 
remote.c: In function `execvp_stdin_io': 
remote.c:2014: error: syntax error before "memcpy" 
make[1]: *** [remote.o] Error 1 
make[1]: Leaving directory `/var/tmp/portage/evms-2.1.1/work/evms-2.1.1/engine' 
make: *** [all] Error 1 
 
!!! ERROR: sys-fs/evms-2.1.1 failed. 
!!! Function src_compile, Line 35, Exitcode 2 
!!! Failed emake 
 
 

Expected Results:  
 

hydra root # emerge --info 
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.6.0-test9) 
================================================================= 
System uname: 2.6.0-test9 i686 AMD Athlon(tm) MP 2100+ 
Gentoo Base System version 1.4.3.11 
distcc 2.11.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
ccache version 2.3 [enabled] 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer -ffast-math -mmmx 
-m3dnow " 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/
share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/
tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer -ffast-math -mmmx 
-m3dnow " 
DISTDIR="/usr/portage/distfiles" 
FEATURES="sandbox ccache" 
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://
gentoo.inode.at/ http://ftp.easynet.nl/mirror/gentoo/ http://212.219.56.152/
sites/www.ibiblio.org/gentoo/" 
MAKEOPTS="-j4" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="x86 oss avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mpeg 
ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb alsa 
gdbm berkdb slang readline arts tetex aalib nas svga ggi tcltk java mysql X sdl 
gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl 
mozilla gphoto2 ldap cdr scanner 3ds aavm acpi acpi4linux amd ardour-ksi 
artswrappersuid bots dga doc dvd ethereal evms2 evo fbcon firebird flash 
freetds gd gtk2 innodb jack jack-tmpfs javascript jbig jikes joystick lcms 
maildir mng moznoirc moznomail mozsvg mozxmlterm music nocardbus nowin nptl 
odbc offensive openal ospfapi pic ppds prelude S3TC sasl slp sox sse tiff type1 
usb videos vim-with-x wmf xface xfs xml xvid -apm -gnome"
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2003-11-03 13:18:41 UTC
Ahem, unless something is very wrong with my CVS tree, evms-2.1.1 is not
in portage and this is not something we support.
Comment 2 whirm 2003-11-12 14:49:59 UTC
well.... I don't remember if that was a local ebuild or not (sorry if it was ^_^), but now is in portage and it fails, both 2.1.1 and 2.2.0 

hydra root # ls -l /usr/portage/sys-fs/evms/
total 36
-rw-r--r--    1 root     root         2980 Nov 12 21:07 ChangeLog
-rw-r--r--    1 root     root          849 Nov 12 21:07 Manifest
-rw-r--r--    1 root     root         1994 Sep 15 19:46 evms-1.2.1-r1.ebuild
-rw-r--r--    1 root     root         1926 Sep 15 19:46 evms-2.0.1.ebuild
-rw-r--r--    1 root     root         2293 Nov 12 21:07 evms-2.1.0.ebuild
-rw-r--r--    1 root     root         2429 Nov 12 20:45 evms-2.1.1.ebuild
-rw-r--r--    1 root     root         2294 Nov 12 20:45 evms-2.2.0.ebuild
drwxr-xr-x    2 root     root         4096 Nov 12 21:07 files
-rw-r--r--    1 root     root          435 Nov 12 20:45 metadata.xml

emerge -u evms
bla
bla
bla...
LEVEL=0 -DVERSION=\"2.2.0\" -DDATE=\"11/12/03\" -DPluginDirectory=\"/lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c task.c -o task.o
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DPATCH_LEVEL=0 -DVERSION=\"2.2.0\" -DDATE=\"11/12/03\" -DPluginDirectory=\"/lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c volume.c -o volume.o
remote.c: In function `execvp_stdin_io':
remote.c:2043: error: syntax error before "memcpy"
make[1]: *** [remote.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/evms-2.2.0/work/evms-2.2.0/engine'
make: *** [all] Error 1

!!! ERROR: sys-fs/evms-2.2.0 failed.
!!! Function src_compile, Line 35, Exitcode 2
!!! Failed emake


I can give more info if necessary...
Thanks
Comment 3 Brian Jackson (RETIRED) gentoo-dev 2003-11-12 15:04:16 UTC
Hmm, it works for me. what version of kernel-headers do you have installed? Also could you show the 8 lines before and after the line that has the error?
Comment 4 whirm 2003-11-12 15:35:42 UTC
I'll past everithing, just to be sure.. ^_^


/*****************
hydra root # emerge -u evms
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-fs/evms-2.2.0 to /
>>> md5 src_uri ;-) evms-2.2.0.tar.gz
>>> Unpacking source...
>>> Unpacking evms-2.2.0.tar.gz to /var/tmp/portage/evms-2.2.0/work
>>> Source unpacked.
checking for a BSD-compatible install... /bin/install -c
checking whether make sets $(MAKE)... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for main in -lc... yes
checking for main in -ldl... yes
checking for pthread_create in -lpthread... yes
checking for uuid_compare in -luuid... yes
checking for newwin in -lncurses... yes
checking for new_panel in -lpanel... yes
checking for readline in -lreadline... yes
checking for floorf in -lm... yes
checking for ha_gs_join in -lha_gs_r... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether sys/types.h defines makedev... yes
checking whether stat file-mode macros are broken... no
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking semaphore.h usability... yes
checking semaphore.h presence... yes
checking for semaphore.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/queue.h usability... yes
checking sys/queue.h presence... yes
checking for sys/queue.h... yes
checking sys/reboot.h usability... yes
checking sys/reboot.h presence... yes
checking for sys/reboot.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking asm/vtoc.h usability... no
checking asm/vtoc.h presence... no
checking for asm/vtoc.h... no
checking ha_gs.h usability... no
checking ha_gs.h presence... no
checking for ha_gs.h... no
checking for glib-config... /usr/bin/glib-config
checking for GLIB - version >= 1.2.0... yes
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking for heartbeat... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for function prototypes... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for size_t... yes
checking whether sys_siglist is declared... no
checking for struct stat.st_blksize... yes
checking for struct stat.st_rdev... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking whether lstat accepts an empty string... no
checking for strftime... yes
checking for vprintf... yes
checking for _doprnt... no
checking for gethostname... yes
checking for gettimeofday... yes
checking for mkdir... yes
checking for strdup... yes
checking for strerror... yes
checking for strstr... yes
checking for strtod... yes
checking for strtol... yes
checking for strtoul... yes
checking for uname... yes
configure: checking which EVMS plugins to build:
configure:      building aix
configure:      building bbr
configure:      building bsd
configure:      building bbr_seg
configure:      building csm
configure:      building disk
configure:      building dos
configure:      building drivelink
configure:      building ext2
configure:      building gpt
configure:      not building ha ... requires linux-ha package
configure:      building jfs
configure:      building lvm
configure:      building mac
configure:      building md
configure:      building os2
configure:      building reiser
configure:      building replace
configure:      not building rsct ... requires ha_gs_r library
configure:      not building s390 ... requires asm/vtoc.h
configure:      building snapshot
configure:      building sparse
configure:      building swap
configure:      building xfs
configure: checking which EVMS user interfaces to build:
configure:      building cli
configure:      building gui
configure:      not building text-mode-old ... not enabled by user
configure:      building text-mode
configure:      building utils
configure: creating ./config.status
config.status: creating make.rules
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating lib/dlist/Makefile
config.status: creating engine/Makefile
config.status: creating plugins/Makefile
config.status: creating plugins/aix/Makefile
config.status: creating plugins/bbr/Makefile
config.status: creating plugins/bbr_seg/Makefile
config.status: creating plugins/bsd/Makefile
config.status: creating plugins/csm/Makefile
config.status: creating plugins/disk/Makefile
config.status: creating plugins/dos/Makefile
config.status: creating plugins/drivelink/Makefile
config.status: creating plugins/ext2/Makefile
config.status: creating plugins/gpt/Makefile
config.status: creating plugins/ha/Makefile
config.status: creating plugins/jfs/Makefile
config.status: creating plugins/lvm/Makefile
config.status: creating plugins/mac/Makefile
config.status: creating plugins/md/Makefile
config.status: creating plugins/ogfs/Makefile
config.status: creating plugins/os2/Makefile
config.status: creating plugins/reiser/Makefile
config.status: creating plugins/replace/Makefile
config.status: creating plugins/rsct/Makefile
config.status: creating plugins/s390/Makefile
config.status: creating plugins/snapshot/Makefile
config.status: creating plugins/sparse/Makefile
config.status: creating plugins/swap/Makefile
config.status: creating plugins/xfs/Makefile
config.status: creating ui/Makefile
config.status: creating ui/cli/Makefile
config.status: creating ui/gtk/Makefile
config.status: creating ui/ncurses/Makefile
config.status: creating ui/ncurses2/Makefile
config.status: creating ui/utils/Makefile
config.status: creating include/Makefile
config.status: creating doc/Makefile
config.status: creating doc/man/Makefile
config.status: creating tests/Makefile
make[1]: Entering directory `/var/tmp/portage/evms-2.2.0/work/evms-2.2.0/lib'
make[2]: Entering directory `/var/tmp/portage/evms-2.2.0/work/evms-2.2.0/lib/dlist'
gcc -E -M -I../../include -I../../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=0 -DPATCH_LEVEL=0 -DVERSION=\"2.0.0\" -DDATE=\"11/13/03\" dlist.c > .depend
gcc -I../../include -I../../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=0 -DPATCH_LEVEL=0 -DVERSION=\"2.0.0\" -DDATE=\"11/13/03\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c dlist.c -o dlist.o
gcc -shared  -Wl,-soname,libdlist-2.0.so.0 -o libdlist-2.0.so.0.0 dlist.o
ar rcs libdlist.a dlist.o
ln -s -f libdlist-2.0.so.0.0 libdlist.so
ln -s -f libdlist-2.0.so.0.0 libdlist-2.0.so.0
make[2]: Leaving directory `/var/tmp/portage/evms-2.2.0/work/evms-2.2.0/lib/dlist'
make[1]: Leaving directory `/var/tmp/portage/evms-2.2.0/work/evms-2.2.0/lib'
make[1]: Entering directory `/var/tmp/portage/evms-2.2.0/work/evms-2.2.0/engine'
gcc -E -M -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DPATCH_LEVEL=0 -DVERSION=\"2.2.0\" -DDATE=\"11/13/03\" -DPluginDirectory=\"/lib/evms\" cluster.c commit.c common.c config.c container.c crc.c daemon.c discover.c dload.c dm-ioctl3.c dm-ioctl4.c dm.c engine.c expand.c faulthdlr.c handlemgr.c internalAPI.c memman.c message.c object.c option.c remote.c shrink.c task.c volume.c > .depend
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DPATCH_LEVEL=0 -DVERSION=\"2.2.0\" -DDATE=\"11/13/03\" -DPluginDirectory=\"/lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c cluster.c -o cluster.o
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DPATCH_LEVEL=0 -DVERSION=\"2.2.0\" -DDATE=\"11/13/03\" -DPluginDirectory=\"/lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c commit.c -o commit.o
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DPATCH_LEVEL=0 -DVERSION=\"2.2.0\" -DDATE=\"11/13/03\" -DPluginDirectory=\"/lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c common.c -o common.o
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DPATCH_LEVEL=0 -DVERSION=\"2.2.0\" -DDATE=\"11/13/03\" -DPluginDirectory=\"/lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c config.c -o config.o
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DPATCH_LEVEL=0 -DVERSION=\"2.2.0\" -DDATE=\"11/13/03\" -DPluginDirectory=\"/lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c container.c -o container.o
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DPATCH_LEVEL=0 -DVERSION=\"2.2.0\" -DDATE=\"11/13/03\" -DPluginDirectory=\"/lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c crc.c -o crc.o
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DPATCH_LEVEL=0 -DVERSION=\"2.2.0\" -DDATE=\"11/13/03\" -DPluginDirectory=\"/lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c daemon.c -o daemon.o
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DPATCH_LEVEL=0 -DVERSION=\"2.2.0\" -DDATE=\"11/13/03\" -DPluginDirectory=\"/lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c discover.c -o discover.o
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DPATCH_LEVEL=0 -DVERSION=\"2.2.0\" -DDATE=\"11/13/03\" -DPluginDirectory=\"/lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c dload.c -o dload.o
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DPATCH_LEVEL=0 -DVERSION=\"2.2.0\" -DDATE=\"11/13/03\" -DPluginDirectory=\"/lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c dm-ioctl3.c -o dm-ioctl3.o
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DPATCH_LEVEL=0 -DVERSION=\"2.2.0\" -DDATE=\"11/13/03\" -DPluginDirectory=\"/lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c dm-ioctl4.c -o dm-ioctl4.o
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DPATCH_LEVEL=0 -DVERSION=\"2.2.0\" -DDATE=\"11/13/03\" -DPluginDirectory=\"/lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c dm.c -o dm.o
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DPATCH_LEVEL=0 -DVERSION=\"2.2.0\" -DDATE=\"11/13/03\" -DPluginDirectory=\"/lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c engine.c -o engine.o
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DPATCH_LEVEL=0 -DVERSION=\"2.2.0\" -DDATE=\"11/13/03\" -DPluginDirectory=\"/lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c expand.c -o expand.o
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DPATCH_LEVEL=0 -DVERSION=\"2.2.0\" -DDATE=\"11/13/03\" -DPluginDirectory=\"/lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c faulthdlr.c -o faulthdlr.o
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DPATCH_LEVEL=0 -DVERSION=\"2.2.0\" -DDATE=\"11/13/03\" -DPluginDirectory=\"/lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c handlemgr.c -o handlemgr.o
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DPATCH_LEVEL=0 -DVERSION=\"2.2.0\" -DDATE=\"11/13/03\" -DPluginDirectory=\"/lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c internalAPI.c -o internalAPI.o
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DPATCH_LEVEL=0 -DVERSION=\"2.2.0\" -DDATE=\"11/13/03\" -DPluginDirectory=\"/lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c memman.c -o memman.o
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DPATCH_LEVEL=0 -DVERSION=\"2.2.0\" -DDATE=\"11/13/03\" -DPluginDirectory=\"/lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c message.c -o message.o
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DPATCH_LEVEL=0 -DVERSION=\"2.2.0\" -DDATE=\"11/13/03\" -DPluginDirectory=\"/lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c object.c -o object.o
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DPATCH_LEVEL=0 -DVERSION=\"2.2.0\" -DDATE=\"11/13/03\" -DPluginDirectory=\"/lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c option.c -o option.o
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DPATCH_LEVEL=0 -DVERSION=\"2.2.0\" -DDATE=\"11/13/03\" -DPluginDirectory=\"/lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c remote.c -o remote.o
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DPATCH_LEVEL=0 -DVERSION=\"2.2.0\" -DDATE=\"11/13/03\" -DPluginDirectory=\"/lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c shrink.c -o shrink.o
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DPATCH_LEVEL=0 -DVERSION=\"2.2.0\" -DDATE=\"11/13/03\" -DPluginDirectory=\"/lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c task.c -o task.o
gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DPATCH_LEVEL=0 -DVERSION=\"2.2.0\" -DDATE=\"11/13/03\" -DPluginDirectory=\"/lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-mp -O3 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow  -c volume.c -o volume.o
remote.c: In function `execvp_stdin_io':
remote.c:2043: error: syntax error before "memcpy"
make[1]: *** [remote.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/evms-2.2.0/work/evms-2.2.0/engine'
make: *** [all] Error 1

!!! ERROR: sys-fs/evms-2.2.0 failed.
!!! Function src_compile, Line 35, Exitcode 2
!!! Failed emake

hydra root #



**********************/


emerge info:
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.6.0-test9)
=================================================================
System uname: 2.6.0-test9 i686 AMD Athlon(tm) MP 2100+
Gentoo Base System version 1.4.3.12
distcc 2.11.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow "
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.2/share/config /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow "
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://gentoo.inode.at/ http://ftp.easynet.nl/mirror/gentoo/ http://212.219.56.152/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 oss avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb alsa gdbm berkdb slang readline arts tetex aalib nas svga ggi tcltk java mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl mozilla gphoto2 ldap cdr scanner 3ds aavm acpi acpi4linux amd ardour-ksi artswrappersuid bots dga doc dvd ethereal evms2 evo fbcon firebird flash freetds gd gtk2 innodb jack jack-tmpfs javascript jbig jikes joystick lcms maildir mng moznoirc moznomail mozsvg mozxmlterm music nocardbus nowin nptl odbc offensive openal ospfapi pic ppds prelude S3TC sasl slp sox sse tiff type1 usb videos vim-with-x wmf xface xfs xml xvid -apm -gnome"



Salut!
Comment 5 whirm 2003-11-12 15:40:31 UTC
woops! I forget that!:

*  sys-kernel/linux-headers
      Latest version available: 2.4.21
      Latest version installed: 2.4.21
      Size of downloaded files: 27,864 kB
      Homepage:    http://www.kernel.org/ http://www.gentoo.org/
      Description: Linux 2.4.21 headers from kernel.org

Comment 6 Ari Rahikkala 2003-11-13 06:42:37 UTC
I have the same problem here. If it has any relevance, and AFAICT it shouldn't, I'm installing EVMS 2.2.0 on top of a CVS snapshot packaged locally some time before the 2.1.1 release.

gcc -I../include -I../lib/dlist   -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DPATCH_LEVEL=0 -DVERSION=\"2.2.0\" -DDATE=\"11/13/03\" -DPluginDirectory=\"/lib/evms\" -Wall -fPIC -fno-strict-aliasing -march=athlon-xp -O2 -pipe -c remote.c -o remote.o
remote.c: In function `execvp_stdin_io':
remote.c:2043: error: syntax error before "memcpy"
make[1]: *** [remote.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/evms-2.2.0/work/evms-2.2.0/engine'
make: *** [all] Error 1

!!! ERROR: sys-fs/evms-2.2.0 failed.
!!! Function src_compile, Line 35, Exitcode 2
!!! Failed emake

# emerge info
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.6.0-test5-love3)
=================================================================
System uname: 2.6.0-test5-love3 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.3.11
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox autoaddcvs ccache noauto notitles"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo http://gentoo.linux.no/"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 avi crypt cups encode foomaticdb gif jpeg mad mikmod mpeg ncurses pdflib png quicktime spell truetype xml2 xmms xv zlib directfb alsa gdbm slang readline tetex aalib bonobo tcltk guile X sdl tcpd pam libwww ssl perl python imlib oggvorbis gtk opengl mozilla cdr 3dnow 3ds acpi adns amd apache2 cjk cscope dga doc emacs gtk2 imap ipv6 java jikes joystick lcms mbox mmx mng moznocompose moznoirc moznomail mozsvg nptl offensive pic plotutils radeon samba socks5 sse threads tiff usb X509 xvid -oss -apm -arts -kde -libg++ -qt -svga -berkdb -gpm -esd -gnome -motif nls"
 
*  sys-kernel/linux-headers
      Latest version available: 2.4.19-r1
      Latest version installed: 2.4.21
      Size of downloaded files: 25,432 kB
      Homepage:    http://www.kernel.org/ http://www.gentoo.org/
      Description: Full sources for the Gentoo Linux kernel
Comment 7 Brian Jackson (RETIRED) gentoo-dev 2003-11-13 09:43:20 UTC
CFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow "

That may be a bit excessive. Why don't you try with -O2 and without all those -f*'s. BTW, -march=athlon-[mx]p implies -mmmx and -m3dnow so those are pointless too.
Comment 8 whirm 2003-11-14 06:18:12 UTC
With 
CFLAGS="-march=athlon-mp -O2 -pipe"
or
CFLAGS="-march=athlon-mp"
or
CFLAGS=""
It fails.

ARGHHHH!!!!! ^_^
Comment 9 Steve Dobbelstein 2003-11-21 08:49:11 UTC
Created attachment 21035 [details, diff]
Patch to EVMS engine/remote.c for compiling with nptl
Comment 10 Steve Dobbelstein 2003-11-21 08:50:23 UTC
I believe the problem is with the use of the pthread_cleanup_push() and pthread_cleanup_pop() macros.  Please apply the attached patch and see if it fixes the problem.
Comment 11 whirm 2003-11-24 08:50:59 UTC
Yes it compiles and runs perfectly!

Thanks!