Opened 12 years ago
Closed 12 years ago
#274 closed defect (fixed)
Plugins fail to Compile
Reported by: | stephanj | Owned by: | ph3-der-loewe |
---|---|---|---|
Priority: | medium | Milestone: | |
Component: | RoarAudio Main Package | Version: | 1.0beta4 |
Keywords: | Cc: | ||
Architecture: | Compiler: | gcc/mingw | |
Difficulty: | Kernel: | ||
Operating System: | Windows | Parent Tickets: | |
Patch attached: | no | Protocol: | |
Sound driver: | Topic: | Porting |
Description (last modified by ph3-der-loewe)
GCC Version:
$ gcc --version gcc.exe (GCC) 4.6.1 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Compiler Output:
make[1]: Leaving directory `/d/dev/roaraudio-current/roard' make[1]: Entering directory `/d/dev/roaraudio-current/doc' while read fn fc tn tc; do ln -s ../man$tc/$tn.$tc man$fc/$fn.$fc 2> /dev/null; done < symlinks.src; true make[1]: Leaving directory `/d/dev/roaraudio-current/doc' set -e; for i in plugins/roard plugins/universal; do cd $i; make all; cd ../. .; done; make[1]: Entering directory `/d/dev/roaraudio-current/plugins/roard' /mingw/bin/gcc.exe -g -Wall -Wextra -O2 -I../../include -I../.. -c -o echo .o echo.c /mingw/bin/gcc.exe -g -Wall -Wextra -O2 -shared -L../../lib -o echo.dll echo.o -lroar -lwsock32 -lwsock32 -lws2_32 -lws2_32 echo.o: In function `_reg_proto': d:\dev\roaraudio-current\plugins\roard/echo.c:62: undefined reference to `plugin s_reg_proto' echo.o: In function `check_client': d:\dev\roaraudio-current\plugins\roard/echo.c:51: undefined reference to `client s_add_output' d:\dev\roaraudio-current\plugins\roard/echo.c:47: undefined reference to `client s_delete' collect2: ld returned 1 exit status make[1]: *** [echo.dll] Error 1 rm echo.o make[1]: Leaving directory `/d/dev/roaraudio-current/plugins/roard' make: *** [all] Error 2
Subtickets
Change History (5)
comment:1 Changed 12 years ago by ph3-der-loewe
- Description modified (diff)
- Topic set to Porting
comment:2 Changed 12 years ago by ph3-der-loewe
comment:3 Changed 12 years ago by stephanj
Universal plugins does compile.
comment:4 Changed 12 years ago by ph3-der-loewe
- Owner set to ph3-der-loewe
- Status changed from new to accepted
ok. so it's the upwards problem. I think it will work when I just disable building of roard plugins (and any other host specific plugins using direct linking).
comment:5 Changed 12 years ago by ph3-der-loewe
- Resolution set to fixed
- Status changed from accepted to closed
- Version set to 1.0beta4
Note: See
TracTickets for help on using
tickets.
I think this basically the other side of the same coin as #269. Seems PE just can't resolve symbols *upwards* in the dynamic linker.
Does this also happen with the universal plugins?