Displaying 2 results from an estimated 2 matches for "gnu_dev_".
2009 Dec 14
0
[LLVMdev] clang error: multiple definition of `gnu_dev_*'
...hishek Kulkarni wrote:
> 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:/...
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...