PennMUSH Community

Ticket #7685 (closed build problems: fixed)

Opened 2 months ago

Last modified 2 months ago

Compile Error on OS X 10.5

Reported by: nevern02 Assigned to:
Priority: major Milestone: 1.8.3p7
Keywords: Cc:
Visibility: Public

Description

Attempting to compile the latest version of Penn on OS X 10.5 with the latest version of everything as provided by Xtools. Everything is a-okay until you try to configure in MySQL support. When doing so, compiling results as follows...

Making netmud.
mv -f netmud netmud~
mv: rename netmud to netmud~: No such file or directory
make[1]: [netmud] Error 1 (ignored)
gcc -std=gnu99 -ggdb -O -W -Wall -pedantic -Wno-comment -I/usr/include/ -I.. -I../hdrs -o netmud access.o atr_tab.o attrib.o boolexp.o bsd.o bufferq.o chunk.o cmdlocal.o cmds.o command.o compress.o conf.o cque.o create.o db.o destroy.o extchat.o extmail.o filecopy.o flaglocal.o flags.o funcrypt.o function.o fundb.o funlist.o funlocal.o funmath.o funmisc.o funstr.o funtime.o funufun.o game.o help.o htab.o ident.o local.o lock.o log.o look.o malias.o markup.o match.o memcheck.o move.o mycrypt.o mymalloc.o mysocket.o myrlimit.o myssl.o notify.o parse.o pcre.o player.o plyrlist.o info_master.o predicat.o privtab.o ptab.o rob.o services.o set.o shs.o sig.o sort.o speech.o sql.o strdup.o strtree.o strutil.o tables.o timer.o unparse.o utils.o version.o wait.o warnings.o wild.o wiz.o -L/usr/lib -L/usr/local/mysql/lib -lmysqlclient -lz -lm -lmygcc -L/usr/lib -lsqlite3 -lm -lssl -lcrypto
ld: duplicate symbol _shutdown_flag in atr_tab.o and access.o
collect2: ld returned 1 exit status
make[1]: *** [netmud] Error 1
make: *** [all] Error 2

Change History

09/29/08 09:19:50 changed by raevnos

  • priority changed from question to major.
  • status changed from new to closed.
  • resolution set to fixed.
  • milestone set to 1.8.3p7.

09/29/08 15:14:34 changed by nevern02

  • status changed from closed to reopened.
  • resolution deleted.

After grabbing the newest trunk snapshot (and confirming file modification corresponding with the initial closure of this ticket), I'm getting a similar compile error that refers to a new flag...

ld: duplicate symbol _standard_tokens in atr_tab.o and access.o

09/29/08 15:42:58 changed by raevnos

Okay, fixed that one too. Now, why isn't every linker ever going off on these?

I'll wait to close this again until you confirm that there aren't any more similar variables.

09/29/08 15:59:19 changed by nevern02

No dice. Now I'm getting the following:

ld: duplicate symbol _userfn_tab in command.o and cmds.o

I can't be the only one attempting to compile on OS X 10.5, can I? I'm no programmer either, so I can assure you I haven't made any changes to the infrastructure. I'm using a vanilla plain fresh copy of everything included in Apple's latest release of Xtools.

09/30/08 06:27:42 changed by raevnos

Okay, svn up and try again.

You're probably the only person using 10.5 (I have a 10.4 box, though). What I don't get is why linux and other OSes aren't showing these errors too.

09/30/08 08:30:41 changed by nevern02

Success!

Everything compiles cleanly now.

09/30/08 16:49:38 changed by raevnos

  • status changed from reopened to closed.
  • resolution set to fixed.