"my codes" = the source code of some program/s written by yourself, right?
Mainly the difference is in the processor/architecture (maybe you are using a sparc chip in solaris, and an Intel x86 architecture one in the linux one).
I assume that you mean you're trying to recompile the source codes, but you get a lot of errors when you do. Check for the libraries needed for the sources to compile. Install any non-installed (needed) ones, and try again.
Quote:
I found many errors on "exit" and "malloc" build-in function, what's going on here?
|
Probably using a different compiler? I assume you mean C code. You probably weren't using gcc on Solaris ("man cc" on that machine).
Even when you get those messages, do the sources compile properly? (you get a binary file?)