LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 07-03-2007, 12:03 PM   #1
gbowden
Member
 
Registered: Dec 2003
Location: Spain
Distribution: Slackware 14.1 64bit - multilib
Posts: 146

Rep: Reputation: 27
/usr/include/regex.h errors?


When trying to compile clamav 0.90.3 on Slackware 12 I get the following errors about regex.h:

Code:
Making all in clamscan
make[2]: Entering directory `/home/gbowden/clamav-0.90.3/clamscan'
if gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav  -I/usr/include   -g -O2 -MT others.o -MD -MP -MF ".deps/others.Tpo" -c -o others.o others.c; \
        then mv -f ".deps/others.Tpo" ".deps/others.Po"; else rm -f ".deps/others.Tpo"; exit 1; fi
In file included from others.c:48:
/usr/include/regex.h:138: error: expected '=', ',', ';', 'asm' or '__attribute__' before 're_void'
/usr/include/regex.h:297: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/regex.h:306: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/regex.h:308: error: expected '=', ',', ';', 'asm' or '__attribute__' before 're_void'
/usr/include/regex.h:309: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'size_t'
make[2]: *** [others.o] Error 1
make[2]: Leaving directory `/home/gbowden/clamav-0.90.3/clamscan'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gbowden/clamav-0.90.3'
make: *** [all] Error 2
Does anyone know of what might be causing this error?

Edit: So the problem was with a corrupted regex.h file which happened during the upgrade to 12 (I upgraded myself). I had to remove the glibc package and then install it again.

Regards,

Greg

Last edited by gbowden; 07-04-2007 at 01:30 PM.
 
  


Reply


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
which headers usr/include/ or /usr/include/nptl/? Chris.Rector Linux - Enterprise 0 02-02-2007 02:40 PM
Missing /usr/include/GL/gl.h openfun Ubuntu 1 04-24-2006 11:24 AM
/usr/include/linux revsteban Debian 1 02-22-2005 11:41 PM
/usr/include/netdb.h on RH 8.0 nxny Red Hat 2 12-09-2003 06:16 PM
HELP! I've lost my /usr/include! bobthebat Linux - General 2 10-29-2001 01:36 AM


All times are GMT -5. The time now is 09:56 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration