hi all,
i m trying to run a tool written in C in X11,
after re-declaring some things and tweaking the Makefile,
i got the "make depend" working but when i do "make all"
i get this error ...
/usr/bin/ld: ALGORITHMS/algorithms.o bad magic number (not a Mach-O file)
/usr/bin/ld: INPUTACTIONS/inputActions.o bad magic number (not a Mach-O file)
/usr/bin/ld: OUTPUTACTIONS/outputActions.o bad magic number (not a Mach-O file)
/usr/bin/ld: FABRICS/fabrics.o bad magic number (not a Mach-O file)
/usr/bin/ld: TRAFFIC/traffic.o bad magic number (not a Mach-O file)
collect2: ld returned 1 exit status
make[2]: *** [sim] Error 1
make[1]: *** [thisoptall] Error 2
make: *** [all] Error 2
normally, doing
1. make depend ( correct )
2. make all ( incorrect ??? )
3. createsim -sim ( should work )
( attached you can find the source code and the makefile in case you needed to have a look )
the problem is that i don t know what the message "bad magic number (not a Mach-O file)" means ...
i would be thankful if someone could help me overcome this problem
thanx in advance
i m trying to run a tool written in C in X11,
after re-declaring some things and tweaking the Makefile,
i got the "make depend" working but when i do "make all"
i get this error ...
/usr/bin/ld: ALGORITHMS/algorithms.o bad magic number (not a Mach-O file)
/usr/bin/ld: INPUTACTIONS/inputActions.o bad magic number (not a Mach-O file)
/usr/bin/ld: OUTPUTACTIONS/outputActions.o bad magic number (not a Mach-O file)
/usr/bin/ld: FABRICS/fabrics.o bad magic number (not a Mach-O file)
/usr/bin/ld: TRAFFIC/traffic.o bad magic number (not a Mach-O file)
collect2: ld returned 1 exit status
make[2]: *** [sim] Error 1
make[1]: *** [thisoptall] Error 2
make: *** [all] Error 2
normally, doing
1. make depend ( correct )
2. make all ( incorrect ??? )
3. createsim -sim ( should work )
( attached you can find the source code and the makefile in case you needed to have a look )
the problem is that i don t know what the message "bad magic number (not a Mach-O file)" means ...
i would be thankful if someone could help me overcome this problem
thanx in advance