LinuxQuestions.org
Register a domain and help support LQ
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 03-01-2006, 11:25 PM   #1
rundarm
LQ Newbie
 
Registered: Jun 2004
Location: La Crosse, WI
Distribution: Red Hat Fedora Core 5 & 6
Posts: 22

Rep: Reputation: 15
Question Compiling and Link Errors With Regex.h from TCL 8.4.11


Hello
I am trying to configure openldap-stable-20060227.tar.bz2. I get this error message.

checking regex.h usability... no
checking regex.h presence... yes
configure: WARNING: regex.h: present but cannot be compiled
configure: WARNING: regex.h: check for missing prerequisite headers?
configure: WARNING: regex.h: see the Autoconf documentation
configure: WARNING: regex.h: section "Present But Cannot Be Compiled"
configure: WARNING: regex.h: proceeding with the preprocessor's result
configure: WARNING: regex.h: in the future, the compiler will take precedence
configure: WARNING: ## --------------------------------------------- ##
configure: WARNING: ## Report this to <http://www.openldap.org/its/> ##
configure: WARNING: ## --------------------------------------------- ##
checking for regex.h... yes
checking for library containing regfree... none required
checking for compatible POSIX regex... no
configure: error: broken POSIX regex!

I am running Slackware 10.2. I am using the tk and tcl that came with Slackware. I also am having problems compiling Motif.
ftp://ftp.ics.com/pub/Products/Motif...0060106.tar.gz

In file included from Xmos.c:93: << #include <regex.h>

typedef __REG_VOID_T re_void
/usr/include/regex.h:145: error: syntax error before "re_void"

int __REG_WIDE_COMPILE _ANSI_ARGS_((regex_t *, __REG_CONST __REG_WIDE_T *, size_t, int));
/usr/include/regex.h:314: error: syntax error before "_ANSI_ARGS_"


int __REG_WIDE_EXEC _ANSI_ARGS_((regex_t *, __REG_CONST __REG_WIDE_T *, size_t, rm_detail_t *, size_t, regmatch_t [], int));
/usr/include/regex.h:323: error: syntax error before "_ANSI_ARGS_"

xtern size_t regerror _ANSI_ARGS_((int, __REG_CONST regex_t *, char *, size_t));
/usr/include/regex.h:326: error: syntax error before "_ANSI_ARGS_"
Xmos.c: In function `_XmOSGetDirEntries':
Xmos.c:714: warning: implicit declaration of function `regcomp'
Xmos.c:843: warning: implicit declaration of function `regexec'
Xmos.c:926: warning: implicit declaration of function `TclReFree'

If I put an include <regcustom.h> in the line right before regex.h it will compile but cannot link due to undefined reference to `TclReFree'

If you need any more info just let me know.
 
  


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
Logcheck regex to filter out bogus errors Donboy Linux - Security 1 03-13-2005 11:09 PM
Various Compiling Errors (GCC compiling Openal, GUIlib, xmms-wma) gregorya Linux - Software 2 08-27-2004 05:03 AM
Problems compiling avview ... tcl libs aren't found |etnies| Linux - Software 0 05-16-2004 05:50 AM
D-Link driver compile -> billions of errors Wynd Linux - Hardware 1 07-18-2003 03:24 AM
Link errors from gcc CraigN Programming 2 02-27-2003 07:43 PM


All times are GMT -5. The time now is 11:55 AM.

Main Menu
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