LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-19-2017, 01: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, 07:44 AM   #2
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
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.

Cheers.
 
  


Reply



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 11:37 AM
Xorg installation problem with Gentoo LuvNoze Linux - Laptop and Netbook 7 07-03-2011 05:17 AM
xorg-x11 installation problem in centOS mamunbabu2001 Linux - Newbie 1 04-08-2010 12: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 11:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:12 PM.

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