hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brandon Li <bran...@hortonworks.com>
Subject Re: native not compiling in OS X Mountain Lion
Date Mon, 13 Aug 2012 16:38:22 GMT
You may see similar problem compiling HDFS native code too since it's not
supported on OS X yet.

Brandon

On Sun, Aug 12, 2012 at 10:49 PM, J Mohamed Zahoor <jmozah@gmail.com> wrote:

> Hi
>
> I have problems compiling native's in OS X 10.8 for trunk. Especially in
> Yarn projects.
> Anyone faced similar problems?
>
> [exec] /usr/bin/gcc   -g -Wall -O2 -D_GNU_SOURCE -D_REENTRANT
> -I/Users/zahoor/Development/OpenSource/reading/hadoop-common/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src
> -I/Users/zahoor/Development/OpenSource/reading/hadoop-common/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/target/native
> -I/Users/zahoor/Development/OpenSource/reading/hadoop-common/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor
> -I/Users/zahoor/Development/OpenSource/reading/hadoop-common/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl
>    -o
> CMakeFiles/container-executor.dir/main/native/container-executor/impl/main.c.o
>   -c
> /Users/zahoor/Development/OpenSource/reading/hadoop-common/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/main.c
>      [exec] Undefined symbols for architecture x86_64:
>      [exec]   "_fcloseall", referenced from:
>      [exec]       _launch_container_as_user in
> libcontainer.a(container-executor.c.o)
>      [exec]   "_mkdirat", referenced from:
>      [exec]       _mkdirs in libcontainer.a(container-executor.c.o)
>      [exec]   "_openat", referenced from:
>      [exec]       _mkdirs in libcontainer.a(container-executor.c.o)
>      [exec] ld: symbol(s) not found for architecture x86_64
>      [exec] collect2: ld returned 1 exit status
>      [exec] make[2]: *** [target/usr/local/bin/container-executor] Error 1
>      [exec] make[1]: *** [CMakeFiles/container-executor.dir/all] Error 2
>      [exec] make: *** [all] Error 2
>
>
> ./Zahoor
>



-- 
Thanks,
Brandon

Mime
View raw message