View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 03-02-2006, 12:25 AM   #1
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

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 <> ##
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.

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.


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

All times are GMT -5. The time now is 03:59 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration