It's UWAweek 48

help2002

This forum is provided to promote discussion amongst students enrolled in CITS2002 Systems Programming.
Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.

Displaying the 6 articles in this topic
Showing 6 of 919 articles.
Currently 3 other people reading this forum.


 UWA week 32 (2nd semester, week 3) ↓
SVG not supported

Login to reply

👍?
helpful
1:29pm Mon 8th Aug, ANONYMOUS

Hi, I'm getting this error when it comes to compiling: "Undefined symbols for architecture x86_64: "_main", referenced from: implicit entry/start for main executable ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1" I'm not on campus so I can't attend any lab sessions for further assistance. Could someone help me with this error? Thanks.


SVG not supported

Login to reply

👍?
helpful
1:31pm Mon 8th Aug, Christopher M.

What command (exactly, as typed) is giving you that error?


SVG not supported

Login to reply

👍?
helpful
1:33pm Mon 8th Aug, ANONYMOUS

"Christopher McDonald" <ch*i*.*c*o*a*[email protected]*a*e*u*a*> wrote:
> What command (exactly, as typed) is giving you that error?
Hi, this is the exact command: cc -std=c11 -Wall -Werror -o check check.c


SVG not supported

Login to reply

👍?
helpful
1:34pm Mon 8th Aug, Christopher M.

ANONYMOUS wrote:
> Hi, this is the exact command: cc -std=c11 -Wall -Werror -o check check.c
OK, that should be harmless. Are you sure that your source file, check.c, has a function named main() ?


SVG not supported

Login to reply

👍?
helpful
1:39pm Mon 8th Aug, ANONYMOUS

"Christopher McDonald" <ch*i*.*c*o*a*[email protected]*a*e*u*a*> wrote:
> ANONYMOUS wrote: > > > Hi, this is the exact command: cc -std=c11 -Wall -Werror -o check check.c > > OK, that should be harmless. > Are you sure that your source file, check.c, has a function named main() ?
Yes, this is the function main() header: int main(int argcount, char *argvalue[]) {


SVG not supported

Login to reply

👍?
helpful
1:51pm Mon 8th Aug, Christopher M.

Can you email me your source code?

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  1:17AM Sep 14 2022
Privacy policy