[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sr-dev
Subject:    [sr-dev] Re: [kamailio/kamailio] phonenum: cannot build on Fedora 39 (Issue #3659)
From:       sergey-safarov via sr-dev <sr-dev () lists ! kamailio ! org>
Date:       2023-11-28 15:07:54
Message-ID: kamailio/kamailio/issues/3659/1830035729 () github ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


To fix the module build on the Fedora 39 required to make this change
```diff
diff --git a/src/modules/phonenum/Makefile b/src/modules/phonenum/Makefile
index f465226a97..16e21d902e 100644
--- a/src/modules/phonenum/Makefile
+++ b/src/modules/phonenum/Makefile
@@ -18,7 +18,7 @@ include ../../Makefile.modules
 
 cphonenumber.o: cphonenumber.cpp cphonenumber.h
        @echo "Compiling $<"
-       $(CXX) -std=c++11 $(CXXFLAGS) $(CFLAGS) $(C_DEFS) $(DEFS) -c $< -o $@
+       $(CXX) -std=c++17 $(CXXFLAGS) $(CFLAGS) $(C_DEFS) $(DEFS) -c $< -o $@
 
 phonenum.so: cphonenumber.o
 
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3659#issuecomment-1830035729
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/3659/1830035729@github.com>
[Attachment #5 (text/html)]

<p></p>
<p dir="auto">To fix the module build on the Fedora 39 required to make this \
change</p> <div class="highlight highlight-source-diff" dir="auto"><pre \
class="notranslate"><span class="pl-c1">diff --git a/src/modules/phonenum/Makefile \
b/src/modules/phonenum/Makefile</span> index f465226a97..16e21d902e 100644
<span class="pl-md">--- a/src/modules/phonenum/Makefile</span>
<span class="pl-mi1">+++ b/src/modules/phonenum/Makefile</span>
<span class="pl-mdr">@@ -18,7 +18,7 @@</span> include ../../Makefile.modules
 
 cphonenumber.o: cphonenumber.cpp cphonenumber.h
        @echo "Compiling $&lt;"
<span class="pl-md"><span class="pl-md">-</span>       $(CXX) -std=c++11 $(CXXFLAGS) \
$(CFLAGS) $(C_DEFS) $(DEFS) -c $&lt; -o $@</span> <span class="pl-mi1"><span \
class="pl-mi1">+</span>       $(CXX) -std=c++17 $(CXXFLAGS) $(CFLAGS) $(C_DEFS) \
$(DEFS) -c $&lt; -o $@</span>  
 phonenum.so: cphonenumber.o
 </pre></div>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br \
/>Reply to this email directly, <a \
href="https://github.com/kamailio/kamailio/issues/3659#issuecomment-1830035729">view \
it on GitHub</a>, or <a \
href="https://github.com/notifications/unsubscribe-auth/ABO7UZPQGHUE5345SINA4GDYGX44VA \
VCNFSM6AAAAAA753DJWCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZQGAZTKNZSHE">unsubscribe</a>.<br \
/>You are receiving this because you are subscribed to this thread.<img \
src="https://github.com/notifications/beacon/ABO7UZNDHKNVU5OXAOWBHSTYGX44VA5CNFSM6AAAA \
AA753DJWCWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTNCQQRC.gif" \
height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: \
none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; \
max-width: 0; max-height: 0; mso-hide: all">Message ID: \
<span>&lt;kamailio/kamailio/issues/3659/1830035729</span><span>@</span><span>github</span><span>.</span><span>com&gt;</span></span></p>
 <script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/3659#issuecomment-1830035729",
"url": "https://github.com/kamailio/kamailio/issues/3659#issuecomment-1830035729",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>



_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-leave@lists.kamailio.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic