#4409 closed defect (fixed)
BUG: smpeg does not build
Reported by: | rcleven@… | Owned by: | mww@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
I get an error, can not find "malloc.h"
here's the tail: g++ -DPACKAGE=\"smpeg\" -DVERSION=\"0.4.4\" -I. -I. -g -O2 -I/opt/local/include/SDL - D_THREAD_SAFE -DTHREADED_AUDIO -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -c glmovie-tile.c glmovie-tile.c:19:20: error: malloc.h: No such file or directory glmovie-tile.c: In function 'GLenum glmovie_init(GLuint, GLuint)': glmovie-tile.c:179: error: 'malloc' was not declared in this scope glmovie-tile.c:192: error: 'free' was not declared in this scope glmovie-tile.c:219: error: 'free' was not declared in this scope glmovie-tile.c:244: error: 'free' was not declared in this scope glmovie-tile.c: In function 'void glmovie_quit()': glmovie-tile.c:261: error: 'free' was not declared in this scope make[1]: * [glmovie-tile.o] Error 1 make: * [all-recursive] Error 1
Attachments (2)
Change History (9)
Changed 19 years ago by rcleven@…
comment:2 Changed 19 years ago by rcleven@…
Resolution: | fixed |
---|---|
Status: | closed → reopened |
now I get this:
---> Fetching smpeg ---> Attempting to fetch smpeg-0.4.4.tar.gz from ftp://ftp.lokigames.com/pub/open-source/ smpeg/ ---> Attempting to fetch smpeg-0.4.4.tar.gz from http://distfiles-od.opendarwin.org/ ---> Attempting to fetch ltconfig13 from http://distfiles-od.opendarwin.org/ ---> Attempting to fetch ltmain13 from http://distfiles-od.opendarwin.org/ ---> Verifying checksum(s) for smpeg ---> Extracting smpeg ---> Applying patches to smpeg ---> Configuring smpeg ---> Building smpeg Error: Target com.apple.build returned: shell command "cd /opt/local/var/db/dports/build/ file._Users_rcleven_Dev_darwinports_dports_multimedia_smpeg/work/smpeg-0.4.4 && g++ - dynamiclib *.o audio/*.o video/*.o -o libsmpeg.0.4.4.dylib -current_version 0.4.4 - compatibility_version 0.4.4 -install_name /opt/local/lib/libsmpeg.0.4.4.dylib -L/opt/local/lib -lSDL - lSDLmain" returned error 1 Command output: ld: multiple definitions of symbol _SDL_main glmovie.o definition of _SDL_main in section (TEXT,text) plaympeg.o definition of _SDL_main in section (TEXT,text) ld: warning prebinding disabled because dependent library: /System/Library/Frameworks/ OpenGL.framework/Versions/A/OpenGL can't be searched /usr/bin/libtool: internal link edit command failed
comment:3 Changed 19 years ago by mww@…
this all sounds really strange - especially as 10.4 features malloc.h; did you mess up your system in some way? Installed some 3rd paty software other than darwinports? please supply the whole output of 'port build smpeg -vd';
comment:4 Changed 19 years ago by mww@…
Owner: | changed from darwinports-bugs@… to mww@… |
---|---|
Status: | reopened → new |
Summary: | Smpeg does not build → BUG: smpeg does not build |
comment:5 Changed 19 years ago by mww@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
this bug should be fixed in 0.4.4 revision 6 - if this bug still occurs, please re-open this bug!
comment:6 Changed 17 years ago by nox@…
Milestone: | → Port Bugs |
---|---|
Priority: | Expected → Normal |
The smpeg build log