Menu

#2 More OS X Build Fixes

open
nobody
None
5
2009-09-18
2009-09-18
Anonymous
No

This is from a ia32 build...

The ld command on OS X doesn't like the --defsym option

This shows up in several Makefiles.
in mfsadd/Makefile

mfsadd_LDFLAGS = -Wl,-alias,_mfsadd_main,_main

in mls/Makefile

mls_LDFLAGS = -Wl,-alias,_mls_main,_main

in mfsd/Makefile:

mfsd_LDFLAGS = -Wl,-alias,_mfsd_main,_main

in backup/Makefile:

backup_LDFLAGS = -Wl,-alias,_backup_main,_main

in mfscopy/Makefile:

mfscopy_LDFLAGS = -Wl,-alias,_copy_main,_main

in mfsinfo/Makefile:

mfsinfo_LDFLAGS = -Wl,-alias,_mfsinfo_main,_main

And finally in mfstool/Makefile:

MFSTOOLS_BACKUP = -L${top_builddir}/backup -lbackup -Wl,-u,_backup_main
MFSTOOLS_RESTORE = -L${top_builddir}/restore -lrestore -Wl,-u,_restore_main
MFSTOOLS_COPY = -L${top_builddir}/mfscopy -lmfscopy -Wl,-u,_copy_main
MFSTOOLS_MLS = -L${top_builddir}/mls -lmls -Wl,-u,_mls_main
MFSTOOLS_MFSD = -L${top_builddir}/mfsd -lmfsd -Wl,-u,_mfsd_main
MFSTOOLS_MFSADD = -L${top_builddir}/mfsadd -lmfsadd -Wl,-u,_mfsadd_main
MFSTOOLS_MFSINFO = -L${top_builddir}/mfsinfo -lmfsinfo -Wl,-u,_mfsinfo_main

The names all need "_" in front of them.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.