Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-19-2017, 02:51 AM   #1
Black Forest
LQ Newbie
Registered: Oct 2017
Location: Santa Pola - Spain
Posts: 3

Rep: Reputation: Disabled
Problem with the installation of xorg-server-1.19.5

During the compilation of xorg-server-1.19.5 I have this error:

Making all in dix
make[1]: se entra en el directorio '/xc/xorg-server-1.19.5/dix'
make all-am
make[2]: se entra en el directorio '/xc/xorg-server-1.19.5/dix'
CC atom.lo
atom.c: In function 'MakeAtom':
atom.c:120:21: error: implicit declaration of function 'reallocarray'; did you mean 'xallocarray'? [-Werror=implicit-function-declaration] table = reallocarray(nodeTable, tableLength, 2 * sizeof(NodePtr)); ^~~~~~~~~~~~ xallocarray
atom.c:120:21: warning: nested extern declaration of 'reallocarray' [-Wnested-externs]
atom.c:120:19: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
table = reallocarray(nodeTable, tableLength, 2 * sizeof(NodePtr)); ^ atom.c: In function 'InitAtoms':
atom.c:201:15: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
nodeTable = xallocarray(InitialTableSize, sizeof(NodePtr)); ^
cc1: some warnings being treated as errors
make[2]: * [Makefile:757: atom.lo] Error 1
make[2]: se sale del directorio '/xc/xorg-server-1.19.5/dix'
make[1]: * [Makefile:637: all] Error 2
make[1]: se sale del directorio '/xc/xorg-server-1.19.5/dix'
make: *** [Makefile:778: all-recursive] Error 1

Any idea, please?
Old 10-19-2017, 08:44 AM   #2
Senior Member
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,356

Rep: Reputation: 510Reputation: 510Reputation: 510Reputation: 510Reputation: 510Reputation: 510
Hi Black_Forest.

The problem seems to be with a declaration in your atom.c module. The error message seems to indicate that the "reallocarray" declaration is unexpected (suggesting you maybe meant to use "xallocarray").

I don't have the expertise to advise you any further. If you're not sure what to do with this issue, perhaps other more knowledgeable members will suggest further steps.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] xorg-server installation victorsk Gentoo 16 12-14-2014 12:37 PM
Xorg installation problem with Gentoo LuvNoze Linux - Laptop and Netbook 7 07-03-2011 06:17 AM
xorg-x11 installation problem in centOS mamunbabu2001 Linux - Newbie 1 04-08-2010 01:26 PM
[SOLVED] xorg-server-1.7.1 shows only blank screen after update from xorg-server-1.6.3 irmin Linux - Software 2 01-07-2010 12:23 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:42 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration