리눅스 구문 오류 해결좀 해주세요 ㅠㅠ

gy03098의 이미지

NodeLink.c: In function ‘main’:
NodeLink.c:25:3: error: ‘newnode’ undeclared (first use in this function)
newnode = makeNode("월");
^
NodeLink.c:25:3: note: each undeclared identifier is reported only once for each function it appears in

저기위에 월을 다른걸로 바꿔도 오류가 그대로입니다 ㅜㅜ

김정균의 이미지

newnode 선언을 안 해 줬다는 메시지 입니다.

NodeLink.c:25:3: error: ‘newnode’ undeclared (first use in this function)

makeNode 의 return type을 확인해서 newnode 를 선언해 주세요. 아래와 비슷하게 끔..

char * newnode;