TaskVine: duplicate symbol

2 views
Skip to first unread message

sprock

unread,
Jul 4, 2023, 5:40:32 AM7/4/23
to Cooperative Computing Tools
Hello,

I'm getting this when linking my application:

0) c++ -L/usr/local/lib -lz -lm -lssl -lcrypto -L/home/rmason/.local/cctools/lib -ltaskvine -ldttools archives.o farms.o main.o -o farmfarms                
ld: error: duplicate symbol: main
>>> defined at env_replace.c:28 (/usr/home/rmason/Software/CCTools/cctools/dttools/src/env_replace.c:28)
>>>            env_replace.o:(main) in archive /home/rmason/.local/cctools/lib/libdttools.a
>>> defined at main.cxx
>>>            main.o:(.text+0x0)

If it matters I'm using tup for building.

Thanks,
Roger

Roger Mason

unread,
Jul 4, 2023, 9:46:27 AM7/4/23
to cctoo...@googlegroups.com
Hello again,
Well, as it turns out tup is the culprit here, nothing to do with
cctools.

Once more, sorry for the noise.

Thanks,
Roger
Reply all
Reply to author
Forward
0 new messages