Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: atrpms: devel

What happened to regcomp?

 

 

atrpms devel RSS feed   Index | Next | Previous | View Threaded


promac at gmail

Apr 15, 2007, 8:43 AM

Post #1 of 2 (615 views)
Permalink
What happened to regcomp?

Hi,

I was trying to compile a few missing packages for 64 bits,
and I am having problems with regcomp (regex.h). In fact, this problem is
also happening for i386,
and seems to be related to a glibc update, which happened some time ago.
I am pretty sure I was able to compile them before.

For instance, motion 3.2.7, from Dries:

Motion object files compiled.

Linking Motion...
--------------------------------------------------------------------------------
gcc -L/usr/lib64 -o motion motion.o conf.o draw.o video.o
netcam.onetcam_ftp.o netcam_jpeg.o netcam_wget.o
track.o alg.o event.o picture.o rotate.o webhttpd.o webcam.o ffmpeg.o -lm
-lpthread -ljpeg -L/usr/lib64 -lavformat -lavcodec -lm -lz
-L/usr/lib64/mysql -lmysqlclient -lz -L/usr/lib -lpq
netcam.o: In function `netcam_url_parse':
/home/roma/redhat/BUILD/motion-3.2.7/netcam.c:160: undefined reference to
`regcompA'
/home/roma/redhat/BUILD/motion-3.2.7/netcam.c:197: undefined reference to
`regfreeA'
/home/roma/redhat/BUILD/motion-3.2.7/netcam.c:161: undefined reference to
`regexecA'
collect2: ld returned 1 exit status
make: *** [motion] Error 1
error: Bad exit status from /home/roma/redhat/tmp/rpm-tmp.94745 (%build)

Any clue?


--
Paulo Roma Cavalcanti
LCG - UFRJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.atrpms.net/pipermail/atrpms-devel/attachments/20070415/ca72168b/attachment.html


promac at gmail

Apr 18, 2007, 4:55 AM

Post #2 of 2 (566 views)
Permalink
What happened to regcomp? [In reply to]

On 4/15/07, Paulo Cavalcanti <promac at gmail.com> wrote:
>
>
> Hi,
>
> I was trying to compile a few missing packages for 64 bits,
> and I am having problems with regcomp (regex.h). In fact, this problem is
> also happening for i386,
> and seems to be related to a glibc update, which happened some time ago.
> I am pretty sure I was able to compile them before.
>
> For instance, motion 3.2.7, from Dries:



I found the guilt. It is boost-devel. Somehow it is interfering with
recomp.h, which is a C file.

This guy is redefining everything.

/usr/include/boost/cregex.hpp

I have to remove boost-devel for being able to compile anything using
regext.h.

If I just rename cregex.h to anything, I get:

In file included from /usr/include/ffmpeg/avformat.h:36,
from ffmpeg.h:5,
from motion.c:9:
/usr/include/ffmpeg/avcodec.h:2478: warning: 'ImgReSampleContext' is
deprecated
/usr/include/ffmpeg/avcodec.h:2481: warning: 'ImgReSampleContext' is
deprecated
In file included from ffmpeg.h:5,
from motion.c:9:
/usr/include/ffmpeg/avformat.h:292: warning: 'AVFrac' is deprecated
In file included from netcam.h:22,
from motion.h:244,
from motion.c:10:
/usr/include/boost/regex.h:22:28: error: boost/cregex.hpp: No such file or
directory
In file included from netcam.h:22,
from motion.h:244,


What a mess.....

--
Paulo Roma Cavalcanti
LCG - UFRJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.atrpms.net/pipermail/atrpms-devel/attachments/20070418/b416cd29/attachment.html

atrpms devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.