Re: xfsprogs 4.17.0 error building xfs_repair

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

 




On 7/31/18 11:37 PM, Chris Murphy wrote:
> On Tue, Jul 31, 2018 at 10:21 PM, Dave Chinner <david@xxxxxxxxxxxxx> wrote:
>> On Tue, Jul 31, 2018 at 08:02:17PM -0600, Chris Murphy wrote:
>>> Hi,
>>> I'm doing this on Fedora 28, I'm including the entire output from
>>> exporting environment variables from doc/INSTALL so it's kinda long...
>>>
>>> [chris@f28s xfsprogs-dev]$ git reset --hard origin/master
>>> HEAD is now at 0821de47 xfsprogs: Release v4.17.0
>>>
>>> [chris@f28s xfsprogs-dev]$ export TAR=/usr/bin/tar
>>> [chris@f28s xfsprogs-dev]$ export LIBTOOL=/usr/bin/libtool
>>> [chris@f28s xfsprogs-dev]$ export INSTALL_GROUP=wheel
>>> [chris@f28s xfsprogs-dev]$ export
>>> LOCAL_CONFIGURE_OPTIONS="--enable-gettext=no --enable-blkid=no
>>> --enable-librt=no"
>>
>> You shot yourself in the foot.
>>
>> ....
>>>     [CC]     versions.o
>>>     [CC]     xfs_repair.o
>>>     [LD]     xfs_repair
>>> /tmp/cc95QLol.ltrans8.ltrans.o: In function `progress_rpt_thread.lto_priv.352':
>>> <artificial>:(.text+0xa2c9): undefined reference to `timer_create'
>>> <artificial>:(.text+0xa2e4): undefined reference to `timer_settime'
>>> <artificial>:(.text+0xa570): undefined reference to `timer_delete'
>>
>> These functions are in librt, and you told the build not to use it...
> 
> 
> I did what doc/INSTALL told me to do:
> 
>    Building xfsprogs:
> 
>     [firstly set these environment variables to these values]
>     TAR=/usr/bin/gnutar
>     LIBTOOL=/usr/bin/glibtool
>     INSTALL_GROUP=wheel
>     LOCAL_CONFIGURE_OPTIONS="\
>                  --enable-gettext=no\
>                  --enable-blkid=no\
>                  --enable-librt=no\
>                  "

Wow, no idea why that crap is in there, it should probably be removed.

Just "make" will suffice.

Patches accepted :)

-Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux