Skip to content

Conversation

n-isaka
Copy link
Member

@n-isaka n-isaka commented Aug 1, 2025

  • Fixes the issue with multiple definitions of cob_unifunc when linking COBOL modules.
  • The following error occurred
gcc -pipe  -Wl,--export-dynamic -o prog caller.o callee.o  -L/usr/local/lib -lcob -lm -lvbisam -lgmp -lncurses
/usr/bin/ld: callee.o:(.bss+0x0): multiple definition of `cob_unifunc'; caller.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
  • The details of the cobc renovation will be considered in the future.

* Fixes the issue with multiple definitions of `cob_unifunc` when linking COBOL modules.
* The following error occurred
```
gcc -pipe  -Wl,--export-dynamic -o prog caller.o callee.o  -L/usr/local/lib -lcob -lm -lvbisam -lgmp -lncurses
/usr/bin/ld: callee.o:(.bss+0x0): multiple definition of `cob_unifunc'; caller.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
```
@n-isaka n-isaka merged commit 2d6e62f into opensourcecobol:develop Aug 1, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant