Jump to content
OMRON Forums

Linker error on IDE 2.0


Recommended Posts



I recently upgraded to the latest IDE. (IDE 2.0 with Firmware


My C Libraries can't be linked because of newly added LDFLAGS -Wl,-z,defs.

For example, I get following errors when I build following programs which can be compiled with IDE 1.7.


I do these because I have UMAC accessories specific libraries and application specific libraries, and the latter use the former.


Are there any ways to change linker options?


- Output window message

	Build Process For libbbb.so has started.
...\TestProject\C Language\Libraries\bbb\bbb.c(4,0): Warning : in file included from  bbb.c
...\TestProject\C Language\Libraries\bbb\..\aaa\aaa.h(1,0): Warning :  no newline at end of file
...\TestProject\TestProject.ppproj(125,5): Error : bbb.o: In function `FuncB':
...\TestProject\C Language\Libraries\bbbbbb.c(8,0): Error :  undefined reference to `FuncA' 
...\TestProject\TestProject.ppproj(125,5): Error : collect2: ld returned 1 exit status
	Build Process For libbbb.so has ended.


- C Language/Libraries/aaa/aaa.c

#include "../../Include/pp_proj.h"

void FuncA(void) {
   int a, b, c;
   c = a + b;


- C Language/Libraries/aaa/aaa.h

void FuncA(void);


- C Language/Libraries/bbb/bbb.c

#include "../../Include/pp_proj.h"
#include "../aaa/aaa.h"

void FuncB(void) {

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

This topic is now closed to further replies.

  • Create New...