klacke/yaws — Issue #96: rebar compile has stopped working
Author: vsevolod-zubov
Created: 2012-03-07 04:56:50+00:00
State: open

My project doesn't compile with `rebar compile` anymore, only with `make`.

```
$ rebar compile
==> rel (compile)
==> yaws (compile)
c_src/yaws_sendfile_drv.o: In function `driver_init':
/home/andrey/yaws/c_src/yaws_sendfile_drv.c:325: multiple definition of `driver_init'
c_src/setuid_drv.o:/home/andrey/yaws/c_src/setuid_drv.c:125: first defined here
collect2: ld returned 1 exit status
ERROR: cc c_src/epam.o c_src/hashtable.o c_src/setuid_drv.o c_src/yaws_sendfile_drv.o -shared -L/usr/local/lib/erlang/lib/erl_interface-3.7.6/lib -lerl_interface -lei -o priv/yaws_drv.so failed with error: 1 and output:
c_src/yaws_sendfile_drv.o: In function `driver_init':
/home/andrey/yaws/c_src/yaws_sendfile_drv.c:325: multiple definition of `driver_init'
c_src/setuid_drv.o:/home/andrey/yaws/c_src/setuid_drv.c:125: first defined here
```