[Gluster-users] Linking Error

Strahil Nikolov hunter86_bg at yahoo.com
Thu Aug 18 21:40:06 UTC 2022


I think you should follow https://docs.gluster.org/en/main/Developer-guide/Building-GlusterFS/  as there are some dependencies that need to be installed.
Best Regards,Strahil Nikolov 
 
 
  On Thu, Aug 18, 2022 at 12:36, Rahul Thakre<rahul.thakre at sasken.com> wrote:    <!--#yiv8812403135 _filtered {} _filtered {} _filtered {}#yiv8812403135 #yiv8812403135 p.yiv8812403135MsoNormal, #yiv8812403135 li.yiv8812403135MsoNormal, #yiv8812403135 div.yiv8812403135MsoNormal {margin:0in;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri", "sans-serif";}#yiv8812403135 a:link, #yiv8812403135 span.yiv8812403135MsoHyperlink {color:blue;text-decoration:underline;}#yiv8812403135 a:visited, #yiv8812403135 span.yiv8812403135MsoHyperlinkFollowed {color:purple;text-decoration:underline;}#yiv8812403135 span.yiv8812403135EmailStyle17 {font-family:"Calibri", "sans-serif";color:windowtext;}#yiv8812403135 .yiv8812403135MsoChpDefault {font-family:"Calibri", "sans-serif";} _filtered {}#yiv8812403135 div.yiv8812403135WordSection1 {}-->
Hi,
 
  
 
I am building a rpms of glusterfs9.6 & glusterfs10  but i am getting an error
 
  
 
rcu-bp.h:170: undefined reference to `urcu_bp_register'
.libs/glusterd_la-glusterd-reset-brick.o: In function `_urcu_bp_read_unlock':
/usr/local/include/urcu/static/urcu-bp.h:186: undefined reference to `urcu_bp_reader'
/usr/local/include/urcu/static/urcu-bp.h:190: undefined reference to `urcu_bp_reader'
/usr/local/include/urcu/static/urcu-bp.h:186: undefined reference to `urcu_bp_reader'
/usr/local/include/urcu/static/urcu-bp.h:190: undefined reference to `urcu_bp_reader'
/usr/local/include/urcu/static/urcu-bp.h:186: undefined reference to `urcu_bp_reader'
.libs/glusterd_la-glusterd-reset-brick.o:/usr/local/include/urcu/static/urcu-bp.h:190: more undefined ref
 
  
 
  
 
Steps I am following to build RPMS


 
1. ./autogen.sh
 
2. ./configure LDFLAGS="-L/usr/lib64/" URCU_CFLAGS="-I/usr/local/include/urcu/" URCU_LIBS="-lurcu-memb -lurcu-qsbr -lurcu-mb -lurcu-signal -lurcu-bp " URCU_CDS_CFLAGS="-I/usr/local/include/urcu/" URCU_CDS_LIBS="-lurcu -lurcu-cds"
 
3. make dist
 
4. cd extras/LinusRPMS
 
5. make glusterrpms
 
  
 
Kindly request you to guide me where I am getting wrong or suggest solution to build rpms correctly.
 
  
 
Regards
 
Rahul 
 
SASKEN BUSINESS DISCLAIMER: This message may contain confidential, proprietary or legally privileged information. In case you are not the original intended Recipient of the message, you must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message and you are requested to delete it and inform the sender. Any views expressed in this message are those of the individual sender unless otherwise stated. Nothing contained in this message shall be construed as an offer or acceptance of any offer by Sasken Technologies Limited ( formerly known as "Sasken Communication Technologies Limited" ) unless sent with that express intent and with due authority of Sasken. Sasken has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email.
Read Disclaimer at http://www.sasken.com/mail-disclaimer/

________



Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://meet.google.com/cpu-eiue-hvk
Gluster-users mailing list
Gluster-users at gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20220818/0e0e9b37/attachment.html>


More information about the Gluster-users mailing list