ld: error: undefined symbol: basename_r

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Gluster devs

I compiled GlusterFS ver. 7.3 cloned from github on FreeBSD 12.1.

In order to compile I had to modify configure.ac as follows:
- AM_INIT_AUTOMAKE([tar-pax foreign])
+ AM_INIT_AUTOMAKE([tar-pax foreign subdir-objects])

Compile develops following error:
gmake[3]: Entering directory 'glusterfsd/src'
  CC       glusterfsd.o
  CC       glusterfsd-mgmt.o
  CC       gf_attach.o
  CCLD     gf_attach
  CCLD     glusterfsd
ld: error: undefined symbol: basename_r
>>> referenced by glusterfsd.c:1711
>>>               glusterfsd.o:(parse_cmdline)

ld: error: undefined symbol: basename_r
>>> referenced by glusterfsd.c:2266
>>>               glusterfsd.o:(parse_cmdline)
cc: error: linker command failed with exit code 1 (use -v to see invocation)


At glusterfsd.c:1711 and glusterfsd.c:2266, it is basename is used, not basename_r.

Hope devs can fix and push to github, so that I can give it a try again.

Thanks.

_______________________________________________

Community Meeting Calendar:

APAC Schedule -
Every 2nd and 4th Tuesday at 11:30 AM IST
Bridge: https://bluejeans.com/441850968


NA/EMEA Schedule -
Every 1st and 3rd Tuesday at 01:00 PM EDT
Bridge: https://bluejeans.com/441850968

Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
https://lists.gluster.org/mailman/listinfo/gluster-devel


[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux