Alexander Hansen wrote: > Alexander Hansen wrote: >> Harish Narayanan wrote: >> >>> Martin Costabel wrote: >>> >>> >>>> Harish Narayanan wrote: >>>> >>>> >>>>> Hello, >>>>> >>>>> I receive the following error while building gcc 4.4.1 on Mac OS X >>>>> 10.6.1 using a 64-bit Fink installation. >>>>> >>>>> /usr/include/mach/vm_types.h:40: note: previous declaration of >>>>> 'pointer_t' was here >>>>> >>>>> >>>> The line just before this would have been interesting to see. >>>> >>>> >>> ../../gcc-4.4.1/gcc/fortran/module.c:107: error: conflicting types for >>> 'pointer_t' >>> /usr/include/mach/vm_types.h:40: note: previous declaration of >>> 'pointer_t' was here >>> >>> >>> >>>> [] >>>> >>>> >>>>> Has anyone else run into this problem. Is it stupid to just move >>>>> /usr/include/mach/vm_types.h out of the way during the build? >>>>> >>>>> >>>> No and yes. If anything needs changing, it is the *other* file that has >>>> the conflicting declaration of pointer_t. Changing system files isn't >>>> done in Fink. >>>> >>>> >>>> >>> Thanks. I guess I will just modify the system file during the build. >>> >>> Harish >>> >>> >>> >> No, don't do that. That's a really, really, bad idea.
OK, I will not. >> It looks like you got an error even before what you've already shown, so >> how about showing us that? Also, if you've got anything in /usr/local, >> that may be causing problems, and you could rename it while you build. >> > Specifically, show the compiler line just before this error. /sw/src/fink.build/gcc44-4.4.1-1000/darwin_objdir/./prev-gcc/xgcc -B/sw/src/fink.build/gcc44-4.4.1-1000/darwin_objdir/./prev-gcc/ -B/sw/lib/gcc4.4/x86_64-apple-darwin10/bin/ -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -Ifortran -I../../gcc-4.4.1/gcc -I../../gcc-4.4.1/gcc/fortran -I../../gcc-4.4.1/gcc/../include -I../../gcc-4.4.1/gcc/../libcpp/include -I/sw/include -I../../gcc-4.4.1/gcc/../libdecnumber -I../../gcc-4.4.1/gcc/../libdecnumber/dpd -I../libdecnumber -I/sw/include -I/sw/include -DCLOOG_PPL_BACKEND -I/sw/include ../../gcc-4.4.1/gcc/fortran/module.c -o fortran/module.o ../../gcc-4.4.1/gcc/fortran/module.c:107: error: conflicting types for 'pointer_t' /usr/include/mach/vm_types.h:40: note: previous declaration of 'pointer_t' was here /sw/src/fink.build/gcc44-4.4.1-1000/darwin_objdir/./prev-gcc/xgcc -B/sw/src/fink.build/gcc44-4.4.1-1000/darwin_objdir/./prev-gcc/ -B/sw/lib/gcc4.4/x86_64-apple-darwin10/bin/ -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -Ifortran -I../../gcc-4.4.1/gcc -I../../gcc-4.4.1/gcc/fortran -I../../gcc-4.4.1/gcc/../include -I../../gcc-4.4.1/gcc/../libcpp/include -I/sw/include -I../../gcc-4.4.1/gcc/../libdecnumber -I../../gcc-4.4.1/gcc/../libdecnumber/dpd -I../libdecnumber -I/sw/include -I/sw/include -DCLOOG_PPL_BACKEND -I/sw/include ../../gcc-4.4.1/gcc/fortran/openmp.c -o fortran/openmp.o make[3]: *** [fortran/module.o] Error 1 make[3]: *** Waiting for unfinished jobs.... rm gfortran.pod make[2]: *** [all-stage2-gcc] Error 2 make[1]: *** [stage2-bubble] Error 2 make: *** [all] Error 2 ### execution of /var/tmp/tmp.1.GKzY8J failed, exit code 2 Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-gcc44-4.4.1-1000 (Reading database ... 122555 files and directories currently installed.) Removing fink-buildlock-gcc44-4.4.1-1000 ... Failed: phase compiling: gcc44-4.4.1-1000 failed Harish ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
