Roger Schreiter
2004-Aug-06 16:38 UTC
[Asterisk-Users] Problems loading chan_h323 on Opteron 64 bit
Hi, I compiled asterisk and chan_h323 on an Opteron in 64 bit mode. In the h323's Makefile I replaced in line 24 CFLAGS += -march=$(shell uname -m) by CFLAGS += -march=k8 and also tried CFLAGS += -m64 -march=k8 Both solutions do compile, but when starting asterisk, a load error occurs: undefined symbol: _ZN14H323Connection24OnUserInputInlineRFC2833ER15OpalRFC2833Infoi When I grep /usr/local/lib/libh323... I can find occuring _ZN14H323Connection24OnUserInputInlineRFC2833ER15OpalRFC2833Info serveral times, but not followed by an i. Any ideas, what I could do now? Any dirty workaround which does not influence stabilty is also welcome. Roger.
Wolfgang S. Rupprecht
2004-Aug-06 17:45 UTC
[Asterisk-Users] Problems loading chan_h323 on Opteron 64 bit
roger@planinternet.de (Roger Schreiter) writes:> I compiled asterisk and chan_h323 on an Opteron in 64 bit mode. >... > Both solutions do compile, but when starting asterisk, > a load error occurs: > undefined symbol: > _ZN14H323Connection24OnUserInputInlineRFC2833ER15OpalRFC2833InfoiI run asterisk on my amd64 under openbsd and don't see this. I take it this is something that only pops up when you actually try to connect with an H323 client? What version of gcc and ld are you using? Could it be there are were some symbol-table bugs that got fixed in the mean time? gcc version 3.3.2 (propolice) GNU ld version 2.14 20030612 In case you are curious, these are my openbsd/amd64 patches: http://www.wsrcc.com/wolfgang/ftp/asterisk-openbsd35.patch -wolfgang -- Wolfgang S. Rupprecht http://www.wsrcc.com/wolfgang/